# CVE-2026-53513: Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-07-07T20:56:19.000Z
- Modified: 2026-07-21T15:39:52.240Z
- Also known as: GHSA-5rr4-8452-hf4v
- Weaknesses: CWE-20, CWE-345, CWE-441, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- better-auth better-auth: >= 0.1.0, < 1.6.11
- @better-auth sso: >= 0.1.0, < 1.6.11
- @better-auth/sso (npm): from 0.1.0 before 1.6.11
- better-auth better-auth/sso: before 1.6.11
- better-auth better_auth: from 0.1.0 before 1.6.11

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v> (mitigation, vendor-advisory, web)
- <https://github.com/better-auth/better-auth/pull/9574> (issue-tracking, patch, web)
- <https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e> (patch, web)
- <https://github.com/better-auth/better-auth/releases/tag/v1.6.11> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53513> (advisory)
- <https://github.com/better-auth/better-auth> (package)

## Sources

- CVE List: [CVE-2026-53513](https://www.cve.org/CVERecord?id=CVE-2026-53513), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-5rr4-8452-hf4v](https://github.com/advisories/GHSA-5rr4-8452-hf4v), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-53513](https://nvd.nist.gov/vuln/detail/CVE-2026-53513), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-53513 · Whole record: https://cve.day/CVE-2026-53513.json · Rebuilt by cve.day 2026-11-25T22:59:28.321Z
