CVE-2026-53513
Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVDNVD · Analyzed | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.6.
Weakness
- CWE-20: Improper Input Validation (opens in a new tab)All about CWE-20 and its CVEs
- CWE-345: Insufficient Verification of Data Authenticity (opens in a new tab)All about CWE-345 and its CVEs
- CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (opens in a new tab)All about CWE-441 and its CVEs
- CWE-918: Server-Side Request Forgery (SSRF) (opens in a new tab)All about CWE-918 and its CVEs
Affected products
- affected >= 0.1.0, < 1.6.11
- affected >= 0.1.0, < 1.6.11
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@better-auth/ssoGHSA-5rr4-8452-hf4v (opens in a new tab)
References (4)
- https://github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v (opens in a new tab)x_refsource_CONFIRM
- https://github.com/better-auth/better-auth/pull/9574 (opens in a new tab)x_refsource_MISC
- https://github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e (opens in a new tab)x_refsource_MISC
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5rr4-8452-hf4v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-53513)Record last updated .