Authentication bypass in nest-admin via hardcoded JWT secret
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
nest-admin before 1.0.1 contains a hardcoded JWT secret committed in .env.production. An unauthenticated remote attacker can sign their own tokens with this known key, which the JwtStrategy and RbacGuard trust, and so impersonate any user or claim the admin role. This flaw is classified under CWE-321 (Use of Hard-coded Cryptographic Key).
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade buqiyuan nest-admin to version 1.0.1 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA nest-admin (buqiyuan) Fixed in 1.0.1
Timeline
- 2026-10-27 Threatist record created from CVE-2026-117564
- 2026-10-27 Alias added: GHSA-mmvv-wwj3-vgj8
- 2026-10-28 CISA SSVC decision points changed
References
Sources
- CVE-2026-117564 · CVE Program
- CVE-2026-117564 · NVD
- FIRST EPSS
- GHSA-mmvv-wwj3-vgj8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences