Skip to main content
VulnerabilityPublished Updated

CVE-2026-53513: @better-auth/sso provider registration has server-side request forgery via unvalidated OIDC endpoints

Affects @better-auth/ssoSource GCVE Database

0
Compare

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

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@better-auth/ssoAffected
  • >=0.1.0 <1.6.11
Fixed in
  • 1.6.11

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

Community reviews

Loading reviews…