CVE-2026-117564

nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret

Published Oct 27, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
nest-admin before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens by using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret that JwtStrategy and RbacGuard trust, impersonating any user ID or claiming the admin role for full administrative access.

Analysis

AI-generated

Technical impact

nest-admin versions prior to 1.0.1 contain hardcoded JWT_SECRET values that are checked by JwtStrategy and RbacGuard. An attacker who obtains the known secret can forge a JSON Web Token and supply it to protected endpoints. Because the token can carry any user ID and the admin role, the attacker can emulate a legitimate administrator and execute any privileged operation, compromising confidentiality, integrity, and availability of the management system.

Affected Systems

The vulnerability is present in the nest-admin application released by buqiyuan. Affected versions are those earlier than 1.0.1; specific version ranges are not provided in the data. The issue is caused by a hardcoded secret in the .env.production file committed to the source repository.

Risk and Exploitability

With a CVSS score of 9.3 the risk is classified as Critical. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the exploit requires only knowledge of a publicly exposed secret, which is present in the source code. Attackers can accomplish the bypass remotely or locally by crafting a signed token and sending it to the application, which will accept it as a valid administrator session. The vulnerability can be fully exploited without any additional configuration or privileged access to the system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nest-admin to version 1.0.1 or later.
  • Ensure the JWT_SECRET is generated locally, stored securely, and removed from the repository, setting the environment variable at deployment time.
  • If upgrading immediately is not feasible, rotate the JWT_SECRET to a new random value and invalidate all existing tokens, then monitor for unauthorized authentication attempts.

Generated by OpenCVE AI on October 27, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Buqiyuan
Buqiyuan nest-admin
Vendors & Products Buqiyuan
Buqiyuan nest-admin
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description nest-admin before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens by using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret that JwtStrategy and RbacGuard trust, impersonating any user ID or claiming the admin role for full administrative access.
Title nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret
Weaknesses CWE-321
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 28, 2026, 4:16 PM
Reserved
Oct 27, 2026, 11:25 AM
Status
Deferred
Published
Oct 27, 2026, 2:16 PM
Modified
Oct 28, 2026, 5:18 PM