Read the docs

Authentication bypass in Tensei @tensei/auth via hard-coded JWT key

Priority MEDIUM 45CWE-1394Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
tenseijs@tensei/authup to 0.11.5—No fix listedCNA
  • @tensei/auth Vendortenseijs Affected up to 0.11.5 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for @tensei/auth.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-129552
  2. 2026-11-16 Alias added: GHSA-2q55-g3jv-fgmf
  3. 2026-11-16 CISA SSVC decision points changed

References

  • 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