CVE-2026-53515CWE-269CWE-285CWE-863

Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso

High · published July 15, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
35.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00426 · 35.8th percentile
Weaknesses
CWE-269 · Improper Privilege Management; CWE-285 · Improper Authorization; CWE-863 · Incorrect Authorization
Published
2026-07-15T17:27Z
EPSS history
Timeline
  • 15 JUL 17:27Z
    Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso
    cvelistv5