CVE-2026-134318better-auth Incorrect Behavior Order: Validate Before Canonicalize
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredHigh
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.9)
CVSS v3.1 Base Metrics — Score 4.9 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- better-auth >= 1.5.5 and < 1.7.16
- better-auth >= 1.8.0-beta.0 and < 1.8.0-beta.5
- better-auth 1.7.16
- better-auth 1.8.0-beta.5
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run better-auth and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new better-auth CVEsYou are reading CVE-2026-134318. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore better-auth CVEs
External References
Data last checked: Nov 22, 2026 17:11 UTC