CVE-2026-117564 Details
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.
A vulnerability allowing authentication bypass has been identified in nest-admin versions prior to 1.0.1. This issue arises from a hardcoded JWT secret in the production environment file, which is publicly accessible. Unauthenticated attackers can exploit this by forging administrator tokens, as the secret is used to sign tokens that are trusted by the application's authentication and role-based access control mechanisms. This allows attackers to impersonate any user or claim administrative roles, granting full access to the application.
Users are advised to update to nest-admin version 1.0.1 or later, and to rotate their JWT secrets and refresh token secrets before deploying the updated version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2026CISA-ADP
Assessed Oct 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/buqiyuan/nest-admin | [email protected] | ProductVendor |
| https://github.com/buqiyuan/nest-admin/blob/2eeccc4cb699d1aedbe04b4437a9d095cde02c74/.env.production#L5 | [email protected] | Source CodeVendor |
| https://github.com/buqiyuan/nest-admin/commit/f2cec8cb776cbf113115b33164dac69a46d24097 | [email protected] | Source CodeVendor |
| https://github.com/buqiyuan/nest-admin/issues/92 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/buqiyuan/nest-admin/issues/93 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/nest-admin-before-1.0.1-authentication-bypass-via-hardcoded-jwt-secret | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| buqiyuan nest-admin | >= 0, < 1.0.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2026 | New CVE Received | [email protected] |
Volerion