PT-2026-153947
CVE-2026-134318
·
Published
2026-11-21
·
Updated
2026-11-21
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
better-auth versions 1.5.5 through 1.7.15
better-auth versions 1.8.0-beta.0 through 1.8.0-beta.4
Description
A privilege escalation issue exists in the organization plugin. The system compares the raw invitation role string during the creator role check, but subsequent checks trim the string. This allows users with roles such as admin, who have invitation privileges, to submit a padded role string like
owner. Upon acceptance, this string is trimmed and recognized as the owner role, enabling the attacker to delete the organization or remove original owners.Recommendations
Update better-auth to version 1.7.16 or later.
Update better-auth to version 1.8.0-beta.5 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾