CVE-2026-134318
better-auth 1.5.5 before 1.7.16 Privilege Escalation via Padded Invitation Role
CVSS Score
4.9
EPSS Score
0.5%
EPSS Percentile
40th
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.
| CWE | CWE-180 |
| Vendor | better-auth |
| Product | better-auth |
| Published | Nov 21, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for better-auth better-auth
Be the first to know when new medium vulnerabilities affecting better-auth better-auth are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Affected Versions
better-auth / better-auth
1.5.5 < 1.7.16
better-auth / better-auth
1.8.0-beta.0 < 1.8.0-beta.5
References
Credits
iabdullah215 0xaudron