Tensei through 0.11.5 Privilege Escalation via Self-Assigned Roles in @tensei/auth
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
Description
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.
| Product | Versions |
|---|---|
| @tensei/auth tenseijs | 0.11.5 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.1 Critical | VulnCheck |
Weaknesses
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
- GitHub Issue #398Issue Tracker
- https://github.com/tenseijs/tensei/blob/630f39038c7751178465f990fb358b0c2d5b1914/packages/auth/src/index.ts#L311-L333Technical Details
- https://github.com/tenseijs/tenseiProduct Page
- VulnCheck Advisory: Tensei through 0.11.5 Privilege Escalation via Self-Assigned Roles in @tensei/authThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.