sadrobot

← Back to the monthly list

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