Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Better-Auth | Better-Auth\/Sso | < 1.6.11 |
| Better-Auth | Better Auth | >= 0.1.0, < 1.6.11 |
Related Weaknesses (CWE)
References
- https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afPatch
- https://github.com/better-auth/better-auth/pull/9574Issue TrackingPatch
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11Release Notes
- https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hfMitigationVendor Advisory
FAQ
What is CVE-2026-53513?
CVE-2026-53513 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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-con...
How severe is CVE-2026-53513?
CVE-2026-53513 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-53513?
Check the references section above for vendor advisories and patch information. Affected products include: Better-Auth Better-Auth\/Sso, Better-Auth Better Auth.