CVE-2026-53512

Critical

Description

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductBetter-auth Better Auth
PublishedJul 15, 2026
First seenJul 15, 2026

How to fix

Update
  • better-auth better_auth1.6.11 or later
  • better-auth1.6.11 or later

Affected products

ProductAffected versionsFixed in
better-auth better_authv < 1.6.111.6.11
better-authnpmv < 1.6.111.6.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-53512 · Better-auth Better Auth · Dark Radar