CVE-2026-53513Better-auth/sso
Critical 9.6
Follow: this CVE · Better-auth · Better-auth/sso We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 15, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Better-auth/sso.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @better-auth/sso |
≥ 0.1.0 < 1.6.11 |
1.6.11 |
npm install @better-auth/sso@1.6.11 |
Per OSV / GitHub Advisories (GHSA-5rr4-8452-hf4v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth/sso | < 1.6.11 |
| better-auth | better_auth | ≥ 0.1.0 < 1.6.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Mitigation Vendor Advisory