# CVE-2026-134318: better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-11-21T16:34:50.515Z
- Modified: 2026-11-23T16:17:31.403Z
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-c85h-5mrr-mgx4> (vendor-advisory)
- <https://www.vulncheck.com/advisories/better-auth-1.5.5-before-1.7.16-privilege-escalation-via-padded-invitation-role> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134318](https://www.cve.org/CVERecord?id=CVE-2026-134318), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134318](https://nvd.nist.gov/vuln/detail/CVE-2026-134318), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134318 · Whole record: https://cve.day/CVE-2026-134318.json · Rebuilt by cve.day 2026-11-25T22:59:52.541Z
