CVE-2026-53515
Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso
CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th
Better Auth is an authentication and authorization library for TypeScript. From 1.2.10 until 1.6.11, the @better-auth/sso plugin's POST /sso/register endpoint lets any organization member attach a new SSO provider to that organization because registerSSOProvider checks only for a membership row and does not require an owner or admin role, allowing attacker-controlled OIDC or SAML providers to drive /sso/callback/{providerId} organization provisioning. This issue is fixed in version 1.6.11.
| CWE | CWE-269 CWE-285 CWE-863 |
| Vendor | better-auth |
| Product | better-auth |
| Published | Jul 15, 2026 |
| Last Updated | Jul 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for better-auth better-auth
Be the first to know when new high vulnerabilities affecting better-auth better-auth are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
Affected Versions
better-auth / better-auth
>= 1.2.10, < 1.6.11
@better-auth / sso
>= 1.2.10, < 1.6.11
References
github.com: https://github.com/better-auth/better-auth/security/advisories/GHSA-gv74-j8m3-fg5f github.com: https://github.com/better-auth/better-auth/pull/9220 github.com: https://github.com/better-auth/better-auth/commit/86765f1597378f5c3deed1b80ca91faac0a6bf00 github.com: https://github.com/better-auth/better-auth/releases/tag/v1.6.11