CVE-2026-53513
published critical CVSS 3.1 · 9.6Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.6 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | >= 0.1.0, < 1.6.11 (affected) | GitHub_M · cna |
| @better-auth | sso | >= 0.1.0, < 1.6.11 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-20 CWE-20: Improper Input Validation
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4Provider assertions
2GitHub_M · cna
Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e30af2c65d9db073d64697db7147b7fe51ba37453d1c42db4741c21225029c2d
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record