Authentication bypass in Tensei @tensei/auth via hard-coded JWT key
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Tensei through 0.11.5 contains an authentication bypass in @tensei/auth. The package falls back to a hard-coded JWT signing key when JWT_SECRET is unset, a use of a default cryptographic key (CWE-1394). An unauthenticated remote attacker can sign tokens with arbitrary user IDs and impersonate any user, including administrators.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
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
The sources list no fixed version for @tensei/auth.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129552
- 2026-11-16 Alias added: GHSA-2q55-g3jv-fgmf
- 2026-11-16 CISA SSVC decision points changed
References
More tenseijs vulnerabilities
- TI-2026-92093 Privilege escalation in @tensei/auth via self-assigned roles CVSS 4.0CRITICAL 9.3
- TI-2026-92096 Open redirect in @tensei/social-auth OAuth callback CVSS 4.0MEDIUM 5.3
- TI-2026-92092 Unrestricted file upload in Tensei @tensei/media plugin enables XSS CVSS 4.0MEDIUM 5.3
- TI-2026-92094 Prototype pollution in Tensei @tensei/rest via sort parameter CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-129552 · CVE Program
- CVE-2026-129552 · NVD
- GHSA-2q55-g3jv-fgmf · 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