Read the docs

Privilege escalation in @tensei/auth via self-assigned roles

Priority MEDIUM 45CWE-915Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Tampering
Confidentiality · integrity · availability
High · High · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-915.

Summary

Tensei through 0.11.5 contains a privilege escalation flaw in @tensei/auth, tracked as CWE-915. The exposed User Roles field accepts attacker-supplied roles, so users can change attributes they should not control. An unauthenticated or authenticated user can assign themselves arbitrary roles, including administrator permissions, through registration or by updating their own record.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

Tensei through 0.11.5 contains a privilege escalation vulnerability in @tensei/auth that allows unauthenticated or authenticated users to assign themselves arbitrary roles via the exposed User Roles field. Attackers can supply a roles array during registration, a POST to the users route, or a PATCH to their own record to gain administrator permissions.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
tenseijs@tensei/authup to 0.11.5—No fix listedCNA
  • @tensei/auth Vendortenseijs Affected up to 0.11.5 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for @tensei/auth.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-129550
  2. 2026-11-16 Alias added: GHSA-3wrx-9cqf-r3hh
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2026-92095 Authentication bypass in Tensei @tensei/auth via hard-coded JWT key CVSS 4.0CRITICAL 9.3
  • TI-2026-92096 Open redirect in @tensei/social-auth OAuth callback CVSS 4.0MEDIUM 5.3
  • TI-2026-92092 Unrestricted file upload in Tensei @tensei/media plugin enables XSS CVSS 4.0MEDIUM 5.3
  • TI-2026-92094 Prototype pollution in Tensei @tensei/rest via sort parameter CVSS 4.0MEDIUM 6.9

Sources