CVE-2026-129552 tenseijs · @tensei/auth
9.8 Critical
AI summary
In Tensei through 0.11.5, @tensei/auth falls back to the hard-coded JWT key 'auth-secret-key' when JWT_SECRET is unset. Unauthenticated attackers can forge tokens to impersonate any user, including administrators; critical (CVSS 9.8). Setting a unique JWT_SECRET mitigates the fallback.
Official description
Tensei through 0.11.5 contains an authentication bypass vulnerability in @tensei/auth that falls back to the hard-coded JWT signing key 'auth-secret-key' when JWT_SECRET is unset. Unauthenticated attackers can sign tokens with arbitrary user ids accepted by populateContextFromToken to impersonate any user, including administrators.
- Published
- 2026-11-16 12:17 UTC
- Modified
- 2026-11-16 17:17 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.84% (percentile 55)
- ENISA EUVD
- EUVD-2026-126282
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-1394
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/tenseijs/tensei - github.com
https://github.com/tenseijs/tensei/blob/630f39038c7751178465f990fb358b0c2d5b1914/packages/auth/src/index.ts#L94-L98 - github.com
https://github.com/tenseijs/tensei/issues/398 - www.vulncheck.com
https://www.vulncheck.com/advisories/tensei-through-0.11.5-authentication-bypass-via-hard-coded-jwt-secret-in-tensei-auth