CVE-2026-53512 json
Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins
published 2026-07-07 4 mo ago modified 2026-07-21 3 mo ago also EUVD-2026-44735 , GHSA-pw9m-5jxm-xr6h
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the legacy oidcProvider and mcp plugins expose OAuth token endpoints whose refresh_token grant authenticates only possession of the bound refreshToken row and matching client_id, without verifying the confidential client's client_secret, allowing an attacker with a valid refresh_token to mint access tokens and rotated refresh tokens through /api/auth/oauth2/token or /api/auth/mcp/token. The @better-auth/oauth-provider package is not affected. This issue is fixed in version 1.6.11.
Patch / fix
- npm better-auth 1.6.11
- better-auth better_auth 1.6.11
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 4.0 | 9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | better-auth | <1.6.11 |
1.6.11 |
Affected products
- better-auth better-auth
Classification
References
-
github.com
/better-auth/better-auth/pull/9576
web, issue-tracking, patch
-
github.com
/better-auth/better-auth/commit/1f2ff4215c4affff0b140b0c0a712c0dde35659c
web, patch
-
github.com
/better-auth/better-auth/security/advisories/GHSA-pw9m-5jxm-xr6h
web, mitigation, vendor-advisory
-
github.com
/better-auth/better-auth/releases/tag/v1.6.11
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-53512
advisory
-
github.com
/better-auth/better-auth
package
Sources
- CVE List CVE-2026-53512
- GitHub Advisory GHSA-pw9m-5jxm-xr6h
- NVD CVE-2026-53512
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.