Skip to main content
← All vulnerabilities
CVE-2026-53513GHSA-5RR4-8452-HF4V

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • better-auth better-auth

    From 0.1.0 · fixed in 1.6.11

  • @better-auth sso

    From 0.1.0 · fixed in 1.6.11

  • @better-auth/ssonpm

    From 0.1.0 · fixed in 1.6.11

References 4

GitHub · better-auth/better-auth