Skip to content
DayZeroHub
Critical CVSS 9.3CVE-2026-129550

Privilege escalation via self-assigned roles in @tensei/auth (CVE-2026-129550)

tenseijs @tensei/auth

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).

ProductVersionsFixed 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.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-915

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources