Privilege escalation in @tensei/auth via self-assigned roles
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
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
Remediation
The sources list no fixed version for @tensei/auth.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129550
- 2026-11-16 Alias added: GHSA-3wrx-9cqf-r3hh
- 2026-11-16 CISA SSVC decision points changed
References
More tenseijs vulnerabilities
- 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
- CVE-2026-129550 · CVE Program
- CVE-2026-129550 · NVD
- GHSA-3wrx-9cqf-r3hh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences