Summary
CVE-2026-129552 is an authentication bypass vulnerability caused by a hard-coded cryptographic key (CWE-1394) in the @tensei/auth package of Tensei. Tensei versions through 0.11.5 fall back to a publicly known JWT signing key when no secret is configured, which lets a remote unauthenticated attacker forge tokens and impersonate any user. The severity is Critical (CVSS v4.0 score 9.3).
Technical details
- Root cause:
@tensei/authfalls back to the hard-coded JWT signing keyauth-secret-keywhen theJWT_SECRETenvironment variable is unset (packages/auth/src/index.ts, lines 94-98 per the CVE record). - Trigger conditions: The deployment does not set
JWT_SECRET. - Attack vector: Network. No authentication, privileges, or user interaction are required.
- Impact: An attacker who knows the default key can forge valid JWTs and impersonate any user, with high impact on confidentiality, integrity, and availability of the application.
Affected software
- Tensei
@tensei/authversions 0 through 0.11.5
Severity
- CVSS v4.0: 9.3 (Critical),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not list a fixed version. Check the Tensei project repository for a patched release and upgrade when one is available.
- Workaround: Set
JWT_SECRETto a long, random, unique value in every Tensei deployment so the hard-coded fallback key is never used. Rotate the secret so that any tokens signed with the default key are invalidated. - Review authentication and access logs for suspicious sessions or unexpected privileged activity. Restrict network exposure of affected applications where possible.

