CVE-2026-117564 buqiyuan · nest-admin
9.8 Critical
AI summary
nest-admin before 1.0.1 uses a hardcoded JWT_SECRET committed in .env.production, letting remote unauthenticated attackers forge tokens to impersonate any user or claim the admin role for full administrative access. Critical (CVSS 9.8); update to 1.0.1 and rotate the secret.
Official 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 14:16 UTC
- Modified
- 2026-10-28 17:18 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.89% (percentile 57)
- ENISA EUVD
- EUVD-2026-110842
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-321
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/buqiyuan/nest-admin - github.com
https://github.com/buqiyuan/nest-admin/blob/2eeccc4cb699d1aedbe04b4437a9d095cde02c74/.env.production#L5 - github.com
https://github.com/buqiyuan/nest-admin/commit/f2cec8cb776cbf113115b33164dac69a46d24097 - github.com
https://github.com/buqiyuan/nest-admin/issues/92 - github.com
https://github.com/buqiyuan/nest-admin/issues/93 - www.vulncheck.com
https://www.vulncheck.com/advisories/nest-admin-before-1.0.1-authentication-bypass-via-hardcoded-jwt-secret