CVE-2026-129552: tenseijs @tensei/auth · Authentication bypass
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-16
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.
Enclave's analysis
Tensei's @tensei/auth signs JWTs with the hard-coded key 'auth-secret-key' when JWT_SECRET isn't set. An unauthenticated attacker can forge a token for any user id and impersonate admins over the HTTP/GraphQL API. No public exploit or in-the-wild use is documented, but forging is trivial. No fix exists as of 0.11.5, and the issue is open with no maintainer reply. Set a strong JWT_SECRET now.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| @tensei/auth | 0 through 0.11.5 | Not listed |