Summary
CVE-2026-129550 is a privilege escalation vulnerability (CWE-915, improperly controlled modification of dynamically-determined object attributes) in the @tensei/auth package of the Tensei framework (tenseijs/tensei), affecting versions through 0.11.5. Users can assign themselves arbitrary roles through the exposed User Roles field. The CVE record rates it Critical (CVSS v4.0 base score 9.3).
Technical details
- Root cause: The User Roles field is exposed in user operations, so client-supplied role values are accepted (CWE-915). The CVE record references the relevant code in
packages/auth/src/index.ts. - Trigger conditions: An attacker supplies a
rolesarray during user registration, in a POST request to the users endpoint, or in a PATCH request to their own user record (per the VulnCheck advisory). - Attack vector: Network. No user interaction is required. The CVE record describes the issue as exploitable by unauthenticated or authenticated users.
- Impact: An attacker can self-assign arbitrary roles, including administrator access. This compromises confidentiality and integrity of the application.
- A related upstream issue (tenseijs/tensei #398) also reports fail-open authorization and users self-assigning privileged roles on misconfigured resources.
Affected software
@tensei/auth(tenseijs/tensei) versions 0 through 0.11.5
Severity
- CVSS v4.0: 9.3 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 9.1 (Critical) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: The sources reviewed do not identify a patched version. Check the tenseijs/tensei repository for a release newer than 0.11.5 and upgrade if one is available.
- If no patch is available: The sources list no official workarounds. Consider restricting access to the registration and user create/update endpoints, for example at a reverse proxy or WAF. Reject or strip any client-supplied
rolesvalue, and enforce server-side authorization on role assignment. - Review existing user accounts for unexpected role assignments, especially administrator roles.

