{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53513","id":"CVE-2026-53513","title":"Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration","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 callb","descriptionLong":"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","updated":"2026-11-11T10:47:32.222786769Z","reserved":"2026-06-09T17:30:33.455Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["better-auth","@better-auth sso"],"affectedProducts":[{"vendor":"better-auth","product":"better-auth","defaultStatus":null,"versions":[{"version":">= 0.1.0, < 1.6.11","status":"affected"}],"platforms":[]},{"vendor":"@better-auth","product":"sso","defaultStatus":null,"versions":[{"version":">= 0.1.0, < 1.6.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@better-auth/sso","purl":"pkg:npm/%40better-auth/sso","ranges":[">=0.1.0 <1.6.11"],"fixed":["1.6.11"],"advisory":"GHSA-5rr4-8452-hf4v"}],"cwes":["CWE-20","CWE-345","CWE-441","CWE-918"],"aliases":["GHSA-5rr4-8452-hf4v"],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/better-auth/better-auth/pull/9574","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53513.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53513","tags":["advisory"]},{"url":"https://github.com/better-auth/better-auth","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00248,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53513","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53513","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53513","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5rr4-8452-hf4v","ok":true,"note":"GHSA-5rr4-8452-hf4v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53513","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}