CVE-2026-134318
JSON

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 packageVersionsReported by
better-auth better-authfrom 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

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-180

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134318 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-134318 changed 2026-11-23Public domain