CVE-2026-129552: Tensei through 0.11.5 Authentication Bypass via Hard-Coded JWT Secret in @tensei/auth

Published Nov 16, 2026
·
Updated

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 JWTSECRET is unset. Unauthenticated attackers can sign tokens with arbitrary user ids accepted by populateContextFromToken to impersonate any user, including administrators.

Affected Software

1 affected component
npm/@tensei/auth<=0.11.5

Event History

Nov 16, 2026
CVE Published
via MITRE·11:51 AM
Data Sourced
via MITRE·11:51 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using @tensei/auth through version 0.11.5 are exposed when JWT_SECRET is unset, causing the component to use the hard-coded signing key auth-secret-key.

2

What does an attacker need to exploit it?

An attacker does not need authentication or user interaction. They can sign a JWT using the known fallback key and supply an arbitrary user ID accepted by populateContextFromToken.

3

What is the potential impact of successful exploitation?

An attacker can impersonate any user whose ID is accepted, including an administrator. This can result in compromise of confidentiality, integrity, and availability.

4

What can be done if upgrading is not immediately possible?

Ensure JWT_SECRET is explicitly set to a strong, non-default secret so @tensei/auth does not fall back to auth-secret-key.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203