Read the docs
TI-2026-38587 Aliases CVE-2026-53513GHSA-5rr4-8452-hf4v

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

Priority MEDIUM 42CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00248 16th percentileScored 2026-11-07
Fix Fixed better-auth (better-auth): 1.6.11sso (@better-auth): 1.6.11+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
better-authbetter-auth0.1.0 to before 1.6.111.6.11Patch availableCNA
better-authsso0.1.0 to before 1.6.111.6.11Patch availableCNA
—@better-auth/sso (npm)0.1.0 to before 1.6.111.6.11Patch availableGHSA-5rr4-8452-hf4v
  • better-auth Vendorbetter-auth Affected 0.1.0 to before 1.6.11 Fixed in 1.6.11 Patch available CNA
  • sso Vendorbetter-auth Affected 0.1.0 to before 1.6.11 Fixed in 1.6.11 Patch available CNA
  • @better-auth/sso (npm) Vendor— Affected 0.1.0 to before 1.6.11 Fixed in 1.6.11 Patch available GHSA-5rr4-8452-hf4v

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:better-auth:better-auth\/sso:*:*:*:*:*:node.js:*:*before 1.6.11Vulnerablebetter-auth
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*0.1.0 to before 1.6.11Vulnerablebetter-auth
  • cpe:2.3:a:better-auth:better-auth\/sso:*:*:*:*:*:node.js:*:* Versions before 1.6.11 Vulnerable ·better-auth
  • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:* Versions 0.1.0 to before 1.6.11 Vulnerable ·better-auth

Remediation

  • Fix · CNA better-auth (better-auth) Fixed in 1.6.11
  • Fix · CNA sso (@better-auth) Fixed in 1.6.11
  • Fix · GHSA-5rr4-8452-hf4v @better-auth/sso (npm) Fixed in 1.6.11 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-53513
  2. 2026-10-03 Alias added: GHSA-5rr4-8452-hf4v

References

  • TI-2026-38589 Better Auth: Privilege escalation via SSO provider registration: missing admin role check in @better-auth/sso CVSS 3.1HIGH 7.1

Sources