{"id":"CVE-2026-53513","aliases":["GHSA-5rr4-8452-hf4v"],"url":"https://o3.security/vulnerability/CVE-2026-53513","summary":"Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration","details":"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.","published":"2026-07-15T17:15:59.611Z","modified":"2026-08-12T03:51:33.686483323Z","cvss":{"score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"},"epss":{"score":0.00248,"percentile":0.15914,"asOf":"2026-08-29"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@better-auth/sso","fixedVersion":"1.6.11"}],"fix":{"url":"https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e","label":"better-auth/better-auth@37f60cb"},"references":[{"type":"WEB","url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53513.json"},{"type":"ADVISORY","url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53513"},{"type":"FIX","url":"https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e"},{"type":"FIX","url":"https://github.com/better-auth/better-auth/pull/9574"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:33.686483323Z"}}