CVE-2026-53513: Vulnerability in Better Auth
Critical. 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...
npm, CWE-20, CWE-345
- Exploitation
- None confirmed
- Severity
- 9.6 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-5rr4-8452-hf4v
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Weakness
- CWE-20, CWE-345, CWE-441, CWE-918
- Published
- 7 Jul 2026
- Last change
- 21 Jul 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Better Auth From 0.1.0 before 1.6.11. Fixed in 1.6.11
- better-auth\/sso Before 1.6.11. Fixed in 1.6.11
Affected packages
Vulnerable version ranges and fixed releases
- @better-auth/sso npm, Affected from 0.1.0 before 1.6.11. Fixed in 1.6.11
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/better-auth/better-auth/releases/tag/v1.6.11
- github.com/better-auth/better-auth/pull/9574
- github.com/better-auth/better-auth/commit/37f60cb176cb53147da7dfd5ec15afa5b486e81e
Related
- Better Auth vulnerabilities Recent advisories, watch this product