CVE-2026-134318 — Better-auth Better-auth — CWE-180
CVE-2026-134318 is a MEDIUM severity Privilege Escalation vulnerability (CWE-180) (CVSS 4.9/10) affecting Better-auth Better-auth. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with high privileges (PR:H) with zero user interaction (UI:N), posing a direct security risk to affected deployments.
📄 Official NVD / MITRE Original Record Text
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-134318
CVSS 4.9/10 · MEDIUM · 21.11.2026
CWE: CWE-180
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS 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 organi…
Affected: better-auth:better-auth
⚡ ATTACK CHAIN
Remotely over internet | admin account | no user interaction | low complexity.
🌍 REAL WORLD IMPACT
Data can be modified or deleted.
🛡️ REMEDIATION
→ Apply vendor security update for better-auth:better-auth.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]
FOFA Query