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.
CVE-2026-53512
This critical-severity CVE scores 9.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.1
- EG Score
- 9.1(low)
- EPSS
- —
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 15, 2026
Advisory Details (4)
Auto-updated Jul 15, 2026OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins · Advisory · better-auth/better-auth · GitHub
https://github.com/better-auth/better-auth/security/advisories/GHSA-pw9m-5jxm-xr6hv1.6.11
Patch available: better-auth/better-auth v1.6.11
https://github.com/better-auth/better-auth/releases/tag/v1.6.11fix(oidc-provider, mcp): authenticate confidential clients on refresh_token grant
Fix merged in better-auth/better-auth PR #9576 on 2026-05-12 — awaiting tagged release
https://github.com/better-auth/better-auth/pull/9576commit 1f2ff4215c4a (better-auth/better-auth)
Fix landed in better-auth/better-auth commit 1f2ff4215c4a — awaiting tagged release
https://github.com/better-auth/better-auth/commit/1f2ff4215c4affff0b140b0c0a712c0dde35659cVendor Advisories for CVE-2026-53512(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(4)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 46× in last 7d / 55× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-16 02:53 UTCEG score recompute
- 2026-07-15 23:09 UTCEG score recompute
- 2026-07-15 19:25 UTCEG score recompute
- 2026-07-15 17:28 UTCMITRE cvelistV5CVSS v4 → 9.1
- 2026-07-15 15:40 UTCEG score recompute
- 2026-07-15 11:56 UTCEG score recompute
- 2026-07-15 08:12 UTCEG score recompute
- 2026-07-15 04:28 UTCEG score recompute
- 2026-07-15 00:43 UTCEG score recompute
- 2026-07-14 20:48 UTCEG score recompute
- 2026-07-14 17:04 UTCEG score recompute
- 2026-07-14 13:19 UTCEG score recompute
- 2026-07-14 09:35 UTCEG score recompute
- 2026-07-14 05:51 UTCEG score recompute
- 2026-07-14 02:07 UTCEG score recompute
- 2026-07-13 22:23 UTCEG score recompute
- 2026-07-13 18:39 UTCEG score recompute
- 2026-07-13 14:55 UTCEG score recompute
- 2026-07-13 11:11 UTCEG score recompute
- 2026-07-13 07:27 UTCEG score recompute
- 2026-07-13 03:42 UTCEG score recompute
- 2026-07-12 23:58 UTCEG score recompute
- 2026-07-12 20:14 UTCEG score recompute
- 2026-07-12 16:30 UTCEG score recompute
- 2026-07-12 12:46 UTCEG score recompute
Show 30 moreShow fewer
- 2026-07-12 09:02 UTCEG score recompute
- 2026-07-12 05:18 UTCEG score recompute
- 2026-07-12 01:34 UTCEG score recompute
- 2026-07-11 21:50 UTCEG score recompute
- 2026-07-11 18:06 UTCEG score recompute
- 2026-07-11 14:22 UTCEG score recompute
- 2026-07-11 10:38 UTCEG score recompute
- 2026-07-11 06:53 UTCEG score recompute
- 2026-07-11 03:08 UTCEG score recompute
- 2026-07-10 23:23 UTCEG score recompute
- 2026-07-10 19:39 UTCEG score recompute
- 2026-07-10 15:54 UTCEG score recompute
- 2026-07-10 12:10 UTCEG score recompute
- 2026-07-10 08:26 UTCEG score recompute
- 2026-07-10 04:39 UTCEG score recompute
- 2026-07-10 00:53 UTCEG score recompute
- 2026-07-09 21:09 UTCEG score recompute
- 2026-07-09 17:24 UTCEG score recompute
- 2026-07-09 13:39 UTCEG score recompute
- 2026-07-09 09:53 UTCEG score recompute
- 2026-07-09 06:09 UTCEG score recompute
- 2026-07-09 02:23 UTCEG score recompute
- 2026-07-08 22:39 UTCEG score recompute
- 2026-07-08 18:55 UTCEG score recompute
- 2026-07-08 15:08 UTCEG score recompute
- 2026-07-08 11:23 UTCEG score recompute
- 2026-07-08 07:39 UTCEG score recompute
- 2026-07-08 03:55 UTCEG score recompute
- 2026-07-08 00:11 UTCEG score recompute
- 2026-07-07 20:27 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-306 · CWE-863 · CWE-287
Frequently asked(4)
What is CVE-2026-53512?
When was CVE-2026-53512 disclosed?
What is the CVSS score of CVE-2026-53512?
How do I remediate CVE-2026-53512?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-53512
Is Your Infrastructure Affected by CVE-2026-53512?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.