Summary
@tensei/auth, the Tensei authentication package, through version 0.11.5 allows a user to assign themselves arbitrary roles, including administrator. The CVSS 4.0 score is 9.3 (critical).
What happened
According to the source description, @tensei/auth exposes the User Roles field. An unauthenticated or authenticated user can supply a list of roles during registration, in a POST request to the users route, or in a PATCH request to their own record, and thereby gain administrator permissions. The weakness is classified as CWE-915. The assigned identifier is CVE-2026-129550.
Why it matters
The vulnerability allows obtaining administrator permissions without prior authorization, with high impact on confidentiality and integrity per the CVSS 4.0 vector (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), assigned by VulnCheck as CNA, with a score of 9.3 and critical severity. CISA's KEV catalog does not list it as actively exploited; the source provides no evidence of exploitation.
Affected products and versions
@tensei/auth (npm), by tenseijs: versions <= 0.11.5 (last affected version stated: 0.11.5).
| Product | Versions | Fixed in |
|---|---|---|
| tenseijs @tensei/auth | <= 0.11.5 | — |
Action recommended by the source
The source does not state a fixed version or a mitigation. The project issue (https://github.com/tenseijs/tensei/issues/398) and the VulnCheck advisory (https://www.vulncheck.com/advisories/tensei-through-0.11.5-privilege-escalation-via-self-assigned-roles-in-tensei-auth) can be consulted for updates.
Sources and references
- https://github.com/tenseijs/tensei/issues/398 — CVE Program
- https://github.com/tenseijs/tensei/blob/630f39038c7751178465f990fb358b0c2d5b1914/packages/auth/src/index.ts#L311-L333 — CVE Program
- https://github.com/tenseijs/tensei — CVE Program
- https://www.vulncheck.com/advisories/tensei-through-0.11.5-privilege-escalation-via-self-assigned-roles-in-tensei-auth — CVE Program
Weaknesses (CWE): CWE-915
Relevant change history
Published
Advisory published.