Tensei Auth
Monthly
Tensei through 0.11.5 ships an authentication package, @tensei/auth, that accepts a 'roles' array on user-input paths without any authorization check, letting remote attackers assign themselves administrator roles. The exposure covers the registration route, the users POST endpoint, and a PATCH to the attacker's own user record, so unauthenticated attackers can obtain administrative privileges on a default, network-reachable deployment. No public exploit code or confirmed active exploitation is reported in the available sources, but the decision signal is act_now given the trivial prerequisites and full confidentiality and integrity impact; the trigger is a malformed request body rather than a race or memory-safety condition.
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.
Tensei through 0.11.5 ships an authentication package, @tensei/auth, that accepts a 'roles' array on user-input paths without any authorization check, letting remote attackers assign themselves administrator roles. The exposure covers the registration route, the users POST endpoint, and a PATCH to the attacker's own user record, so unauthenticated attackers can obtain administrative privileges on a default, network-reachable deployment. No public exploit code or confirmed active exploitation is reported in the available sources, but the decision signal is act_now given the trivial prerequisites and full confidentiality and integrity impact; the trigger is a malformed request body rather than a race or memory-safety condition.
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.