CVE-2026-129550 tenseijs · @tensei/auth
9.1 Critical
AI summary
In Tensei through 0.11.5, @tensei/auth lets users assign themselves arbitrary roles by supplying a roles array at registration, in a POST to the users route, or a PATCH to their own record. This grants administrator permissions even without authentication; critical (CVSS 9.1).
Official 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.
- Published
- 2026-11-16 12:17 UTC
- Modified
- 2026-11-16 16:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.56% (percentile 41)
- ENISA EUVD
- EUVD-2026-126284
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-915
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/tenseijs/tensei - github.com
https://github.com/tenseijs/tensei/blob/630f39038c7751178465f990fb358b0c2d5b1914/packages/auth/src/index.ts#L311-L333 - github.com
https://github.com/tenseijs/tensei/issues/398 - www.vulncheck.com
https://www.vulncheck.com/advisories/tensei-through-0.11.5-privilege-escalation-via-self-assigned-roles-in-tensei-auth