{"id":"CVE-2026-53513","sourceIdentifier":"security-advisories@github.com","published":"2026-07-15T18:16:47.547","lastModified":"2026-07-21T15:39:52.240","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"better-auth","product":"better-auth","versions":[{"version":">= 0.1.0, < 1.6.11","status":"affected"}]},{"vendor":"@better-auth","product":"sso","versions":[{"version":">= 0.1.0, < 1.6.11","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","baseScore":9.6,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.1,"impactScore":5.8}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-15T19:28:52.542592Z","id":"CVE-2026-53513","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-20"},{"lang":"en","value":"CWE-345"},{"lang":"en","value":"CWE-441"},{"lang":"en","value":"CWE-918"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:better-auth:better-auth\\/sso:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.6.11","matchCriteriaId":"0D0F5415-92A8-4183-8B26-2DBC9577118D"},{"vulnerable":true,"criteria":"cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*","versionStartIncluding":"0.1.0","versionEndExcluding":"1.6.11","matchCriteriaId":"5FB9E99E-F122-4AB6-9D37-19884EE5EF01"}]}]}],"references":[{"url":"https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/better-auth/better-auth/pull/9574","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v","source":"security-advisories@github.com","tags":["Mitigation","Vendor Advisory"]}]}