CVE-2026-53512: Vulnerability in Better Auth
Critical. 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...
npm, CWE-287, CWE-306
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-pw9m-5jxm-xr6h
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-287, CWE-306, CWE-345, CWE-863
- Published
- 7 Jul 2026
- Last change
- 21 Jul 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Better Auth Before 1.6.11. Fixed in 1.6.11
Affected packages
Vulnerable version ranges and fixed releases
- better-auth npm, Affected 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/9576
- github.com/better-auth/better-auth/commit/1f2ff4215c4affff0b140b0c0a712c0dde35659c
Related
- Better Auth vulnerabilities Recent advisories, watch this product