CVE-2026-53513: @better-auth/sso provider registration has server-side request forgery via unvalidated OIDC endpoints
Affects @better-auth/ssoSource GCVE Database
Not known to be exploited · CVSS 9.6 Critical : upgrade to 1.6.11 as a priority.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.6.11
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade @better-auth/sso to 1.6.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@better-auth/sso | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in @better-auth/sso version 1.6.11 and later, which validates OIDC endpoint URLs at registration and update time to prevent SSRF. Users should upgrade to this version promptly. If immediate upgrade is not possible, apply the following workarounds: disable provider self-registration by setting providersLimit to 0; restrict access to POST /sso/register and POST /sso/update-provider endpoints via reverse proxy or IP/user allowlists; implement network-level egress controls blocking access to private IP ranges, link-local addresses, and cloud metadata endpoints; and set trustEmailVerified to false to prevent account takeover escalation. After upgrading, deployments using internal IdPs must add their origins to trustedOrigins to maintain functionality.
Description
The @better-auth/sso plugin versions >=0.1.0 and <1.6.11 contain a server-side request forgery (SSRF) vulnerability via unvalidated OpenID Connect (OIDC) endpoint URLs when skipDiscovery is set to true. Authenticated users can exploit this by registering malicious OIDC providers, causing the server to fetch attacker-controlled URLs. This can lead to reading internal HTTP responses, including cloud metadata services. If trustEmailVerified is enabled, attackers can escalate to account takeover by forging verified email claims that link to existing user accounts. The issue is fixed in version 1.6.11 by validating OIDC endpoint URLs against public routability or trusted origins and tightening schema validation. Workarounds include disabling provider self-registration, restricting access, network egress controls, and disabling trustEmailVerified until patched.
References
- github.com/better-auth/better-auth/security/advisories/GHSA-5rr4-8452-hf4v (opens in a new tab)
- github.com/better-auth/better-auth (opens in a new tab)
- github.com/better-auth/better-auth/releases/tag/v1.6.11 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-53513 (opens in a new tab)
- github.com/better-auth/better-auth/pull/9574 (opens in a new tab)
- github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e (opens in a new tab)