Critical severity · published Jul 15, 2026
CVE-2026-53513
Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
9.6
CVSS
0.2%
EPSS
No
On KEV
Description
Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the @better-auth/sso plugin's POST /sso/register and POST /sso/update-provider endpoints accept attacker-controlled oidcConfig.userInfoEndpoint, tokenEndpoint, and jwksEndpoint URLs when skipDiscovery: true is set, store them on the ssoProvider row without origin validation, and fetch them during OIDC callback, allowing non-blind server-side request forgery and possible account linking when trustEmailVerified: true is configured. This issue is fixed in version 1.6.11.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
better-auth · better-auth
>= 0.1.0, < 1.6.11 · source: vendor
SS
sso · @better-auth
>= 0.1.0, < 1.6.11 · source: vendor
BA
Better Auth · Better-auth
0.1.0 before 1.6.11 · source: NVD
BE
Better-auth/sso · Better-auth
before 1.6.11 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-53513
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-53513
Patch
https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e
Issue Tracking
https://github.com/better-auth/better-auth/pull/9574
Release Notes
https://github.com/better-auth/better-auth/releases/tag/v1.6.11
Mitigation
https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v
More from sso
8.1
CVE-2026-110863
Better Auth @better-auth/sso before 1.7.3 Authentication Bypass via Personal SSO Providers
8.1
CVE-2026-80192
better-auth SSO before 1.6.27 Domain Ownership Authentication Bypass
8.1
CVE-2026-67328
@better-auth/sso before 1.6.21 Account Takeover via SSO
7.1
CVE-2026-53515
Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso
