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.
Published: 2026-10-27
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Authentication Bypass → full administrative access
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 13:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T13:07:58.360Z

Reserved: 2026-10-27T11:25:24.150Z

Link: CVE-2026-117564

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T14:16:38.720

Modified: 2026-10-27T14:16:38.720

Link: CVE-2026-117564

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T14:30:04Z

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key