Skip to main content

Tensei CVE-2026-129552

| EUVDEUVD-2026-126282 CRITICAL
Use of Default Cryptographic Key (CWE-1394)
2026-11-16 VulnCheck GHSA-2q55-g3jv-fgmf
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Find Tensei app with JWT_SECRET unset
  2. Delivery
    Forge JWT signed with 'auth-secret-key'
  3. Exploit
    Set arbitrary admin user id in claims
  4. Execution
    Submit token to @tensei/auth API
  5. Impact
    Impersonate administrator, full account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism
Exploitation Conditions

Exploitable only when the JWT_SECRET environment variable is unset, which causes @tensei/auth to fall back to the hard-coded signing key 'auth-secret-key'; deployments that set JWT_SECRET to a strong value are not affected because tokens would then be signed and verified with the operator's secret. When the condition holds, no authentication, user interaction, or special network position is required - any remote party who knows the hard-coded key can forge a token with an arbitrary user id accepted by populateContextFromToken. The primary limiting factor is therefore configuration: the hard-coded fallback must be in effect (JWT_SECRET missing) and the target must be running @tensei/auth at version 0.11.5 or earlier.

Impact

Multiple signals point the same direction but with an important caveat. The vuln.today decision label is act_now and the finding comes from VulnCheck, a credible source, with CWE-1394 (use of a hard-coded/default cryptographic key). The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) describes a remote, no-privilege, no-interaction authentication bypass yielding full impersonation of any user including administrators - mechanically trivial to exploit once the condition is met. However, no CISA KEV listing is present, no EPSS score was supplied, and no confirmed working exploit code is referenced (only a GitHub issue, the vulnerable source lines, and the VulnCheck advisory), so there is no evidence of active or widespread exploitation yet. The key gating factor, visible in the description rather than the CVSS vector, is that the hard-coded fallback key 'auth-secret-key' is only used when the JWT_SECRET environment variable is unset; the CVSS PR:N/AC:L rating treats this default-unset state as the exploitable baseline and does not reflect that a deployment with JWT_SECRET properly configured is not affected. Net assessment: a genuinely severe, easy-to-exploit bug where it applies, but real-world blast radius is bounded by both the niche footprint of the product and whether operators left JWT_SECRET unset - verify configuration before treating any given instance as exploitable.

Exploit ScenarioDerived

An unauthenticated attacker identifies a Tensei (≤0.11.5) application whose JWT_SECRET environment variable was never set, so @tensei/auth signs and verifies tokens with the hard-coded key 'auth-secret-key'. The attacker forges a JWT containing an arbitrary user id (e.g. an administrator's) signed with that known key and submits it; populateContextFromToken accepts it, granting full administrative impersonation. No confirmed working exploit code is published, but the hard-coded key and verification path are documented in the referenced source, making a forged token trivial to produce.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Authentication bypass in @tensei/auth, the authentication package of the Tensei framework through version 0.11.5, allows unauthenticated remote attackers to forge JSON Web Tokens and impersonate any user, including administrators. The exposure is configuration-dependent: when the JWT_SECRET environment variable is unset, the package falls back to the hard-coded signing key 'auth-secret-key', so anyone who knows that constant can sign a token carrying an arbitrary user id that populateContextFromToken accepts without further verification. Deployments that set a strong JWT_SECRET are not affected; the vulnerability is reported by VulnCheck with an act_now priority decision, and no CISA KEV entry or confirmed public exploit code was identified at time of analysis, though the fallback secret is plainly visible in the public source tree.

RemediationAI

No vendor-released patch version is identified in the available data, and the affected range is stated only as 'through 0.11.5', so there is no confirmed fixed release to upgrade to; track https://github.com/tenseijs/tensei/issues/398 and the VulnCheck advisory for an upstream fix. The effective and evidence-supported mitigation is to set the JWT_SECRET environment variable to a strong, randomly generated value before starting any Tensei application using @tensei/auth, which removes the hard-coded fallback and restores operator-controlled signing and verification; the trade-off is that all previously issued tokens, including those signed with 'auth-secret-key', become invalid, so users and administrators must re-authenticate and any long-lived tokens must be reissued. Because tokens forged under the fallback key are indistinguishable in format from legitimate ones, treat any deployment that ran without JWT_SECRET as potentially compromised, rotate the secret and any other credentials reachable through impersonated administrative accounts, and review authentication logs for token use by unexpected user ids. Where the configuration cannot be changed immediately, restrict network access to the application's authenticated endpoints so that only trusted clients can reach the token verification path, at the cost of losing public or partner-facing access to those routes.

Affected VersionsENISA

@tensei/auth 0 ≤0.11.5

Affected Packages

euvd tensei_auth no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tensei is a TypeScript/Node.js application framework, and @tensei/auth implements its JWT-based session layer. Token verification is handled by populateContextFromToken in packages/auth/src/index.ts (the reported location is lines 94-98 in commit 630f390), which resolves the signing key from the JWT_SECRET environment variable and, when that variable is absent, substitutes the literal string 'auth-secret-key'. Because HMAC-signed JWTs are verified with the same symmetric secret used to issue them, knowledge of that constant is sufficient to mint a valid token for any user id, and the flaw maps to CWE-1394 (Use of a Default Credential). The issue was filed upstream as tenseijs/tensei issue 398. The trigger condition is explicitly described in the source: the fallback is only in effect when JWT_SECRET is unset, so the vulnerability manifests as a deployment/configuration failure rather than a logic flaw in token parsing. Note that the published CVSS 4.0 score of 9.3 and the independently assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) agree on unauthenticated network reachability and full confidentiality, integrity, and availability impact, with the practical limiting factor being whether the default secret is actually in use.

Know when Tensei Auth gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 9.8 CRITICAL

Remote authentication bypass via a publicly known hard-coded key needs no privileges or interaction and is reliable when JWT_SECRET is unset (PR:N/AC:L); full admin impersonation yields high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-129552 is a critical authentication bypass in the Tensei framework's @tensei/auth package (through version 0.11.5) that allows unauthenticated attackers to forge tokens and impersonate any user, including administrators, if the JWT_SECRET environment variable is not set. This puts organizations using Tensei with default or missing JWT_SECRET at risk of full application compromise, unauthorized access to sensitive data, and administrative takeover. Leadership should prioritize immediate remediation steps.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; set a strong JWT_SECRET environment variable, monitor for anomalous authentication events, and restrict network access to authentication endpoints.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
niche Node.js headless CMS/GraphQL framework, limited production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy