CVE-2026-53513 Details
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.
A vulnerability in the Better Auth authentication and authorization library for TypeScript, specifically in versions prior to 1.6.11, allows for server-side request forgery (SSRF) attacks. The issue arises in the '@better-auth/sso' plugin's 'POST /sso/register' and 'POST /sso/update-provider' endpoints, which accept user-controlled URLs for OIDC endpoints without proper validation. This vulnerability is exploitable when 'skipDiscovery' is set to true' and can lead to unauthorized access to internal services or metadata.
Users can upgrade to Better Auth version 1.6.11 or later, where this vulnerability has been patched. If an immediate upgrade is not possible, SSO provider self-registration can be disabled, or network-level egress controls can be implemented to block access to private IP ranges and cloud metadata services.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
| CWE-441 | Unintended Proxy or Intermediary ('Confused Deputy') | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| better-auth better-auth/sso | < 1.6.11 |
CPE
Remediation
| |
| better-auth better auth | >= 0.1.0, < 1.6.11 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | Reanalysis | [email protected] |
| Jul 21, 2026 | Initial Analysis | [email protected] |
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |