{"id":"CVE-2026-53513","published":"2026-07-15T17:15:59Z","modified":"2026-07-15T19:29:02Z","title":"Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration","vendor":"better-auth","product":"better-auth","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16415,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/better-auth/better-auth/pull/9574","tags":["x_refsource_MISC"]},{"url":"https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e","tags":["x_refsource_MISC"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":3.28},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"better-auth","affectedVersions":[{"vendor":"better-auth","product":"better-auth","versions":[">= 0.1.0, < 1.6.11"]},{"vendor":"@better-auth","product":"sso","versions":[">= 0.1.0, < 1.6.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-15T19:28:52.542592Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@better-auth/sso","vulnerableRanges":[">=0.1.0, <1.6.11"],"patched":["1.6.11"],"from":["GHSA-5rr4-8452-hf4v"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-44733","exploited":false,"provenance":"source"}}