CVE Watchtower

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.
Severity Level
MEDIUM(6.9)
Published Date
Nov 21, 2026
Last Modified
Nov 21, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.45%Probability
Root Weakness (CWE)
The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.
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:N
Attack 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:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • better-auth >= 1.5.5 and < 1.7.16
  • better-auth >= 1.8.0-beta.0 and < 1.8.0-beta.5
Patched Versions
  • 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.

  1. Check whether you run better-auth and which version.
  2. 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 alerts

More better-auth CVEs

Data last checked: Nov 22, 2026 17:11 UTC