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

Read the record on cve.org

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.

ProductVersions
@tensei/auth tenseijs0.11.5 and earlier Affected

Weaknesses

  • CWE-1394 Use of Default Cryptographic Key

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.