Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-134318
Published:November 21, 2026
Updated:November 23, 2026
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 Packages
https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v1.8.0-beta.0 <v1.8.0-beta.5
Fix Suggestion:
Update to version v1.8.0-beta.5
https://github.com/better-auth/better-auth.git (GITHUB):
Affected version(s) >=v1.5.5 <v1.7.16
Fix Suggestion:
Update to version v1.7.16
better-auth (NPM):
Affected version(s) >=1.8.0-beta.0 <1.8.0-beta.5
Fix Suggestion:
Update to version 1.8.0-beta.5
better-auth (NPM):
Affected version(s) >=1.5.5 <1.7.16
Fix Suggestion:
Update to version 1.7.16
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Behavior Order: Validate Before Canonicalize
EPSS
Base Score:
0.45