CVE-2026-134318
6.9medium
better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.45% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
better-auth 1.5.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a privilege escalation vulnerability in the organization plugin, where the creator role check compares the raw invitation role string while later checks trim it. Admins or other non-creator roles that can invite can submit a padded role such as " owner" that becomes owner on acceptance, allowing deletion of the organization and removal of original owners.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| better-auth better-auth | from 1.5.5 before 1.7.16, from 1.8.0-beta.0 before 1.8.0-beta.5 Not affected: 1.7.16, 1.8.0-beta.5 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-134318 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-134318 changed 2026-11-23 | Public domain |