VulnWatch by ve1ve2

CVE-2026-134318

medium 6.9 NVD ↗CVE.org ↗GHSA-c85h-5mrr-mgx4 ↗

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:
6.9 (nvd)
Vector:
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS:
—
CWE:
CWE-180
Published:
Modified:
First seen:
NVD status:
Deferred
Aliases:
GHSA-c85h-5mrr-mgx4

JSON

Reports (2)