Summary
CVE-2026-117564 is an authentication bypass vulnerability in nest-admin (buqiyuan/nest-admin) caused by a hardcoded cryptographic key (CWE-321). Unauthenticated remote attackers can forge administrator tokens using a JWT secret committed to the repository. The CVSS v4.0 score is 9.3 (Critical).
Technical details
- Root cause: A hardcoded
JWT_SECRETis committed in the.env.productionfile of the project. - Trigger conditions: The deployment uses the default secret shipped in the repository. The application’s JwtStrategy and RbacGuard components trust tokens signed with that secret.
- Attack vector: Network. No authentication, privileges or user interaction are required. An attacker signs a JWT with the publicly known secret.
- Impact: The attacker can impersonate any user or claim administrator privileges, with high impact on confidentiality, integrity and availability of the application.
Affected software
- nest-admin (buqiyuan): all versions before 1.0.1
Severity
- CVSS v4.0: 9.3 (Critical),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade nest-admin to version 1.0.1 or later (fix commit f2cec8cb776cbf113115b33164dac69a46d24097).
- Review the project’s GitHub issues #92 and #93 for context on the finding.
- The published sources do not describe other workarounds. Because the secret was publicly committed, consider restricting network access to the application until it is upgraded.

