CVE-2026-129550: Tensei through 0.11.5 Privilege Escalation via Self-Assigned Roles in @tensei/auth
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Both unauthenticated and authenticated users can exploit it. An unauthenticated attacker can include a roles array during registration, while an authenticated user can submit roles through the users route or by PATCHing their own record.
What level of access can an attacker obtain?
An attacker can assign arbitrary roles to their own account, including administrator permissions. This can result in high confidentiality and integrity impact.
Which attack paths should be reviewed for exposure?
Review registration requests, POST requests to the users route, and PATCH requests that allow users to modify their own records. These paths are affected when they accept a user-controlled roles array.
Are deployments using @tensei/auth version 0.11.5 affected?
Yes. The affected range includes @tensei/auth through version 0.11.5.