@tensei/auth privilege escalation via user-supplied roles
tenseijs @tensei/auth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tenseijs @tensei/auth |
| No fix yet |
Original 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.
From the CVE record · VulnCheck