Tensei through 0.11.5 Authentication Bypass via Hard-Coded JWT Secret in @tensei/auth
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
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.
| Product | Versions |
|---|---|
| @tensei/auth tenseijs | 0.11.5 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-1394 Use of Default Cryptographic Key
References
- GitHub Issue #398Issue Tracker
- https://github.com/tenseijs/tensei/blob/630f39038c7751178465f990fb358b0c2d5b1914/packages/auth/src/index.ts#L94-L98Technical Details
- https://github.com/tenseijs/tenseiProduct Page
- VulnCheck Advisory: Tensei through 0.11.5 Authentication Bypass via Hard-Coded JWT Secret in @tensei/authThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.