CVE-2026-53518

HIGH CVSS 4.0: 7.6 EPSS 0.41%
Updated Jul 21, 2026
Better-Auth
Parameter Value
CVSS 7.6 (HIGH)
Affected Versions 1.6.0 — 1.6.11
Fixed In 1.6.11
Type CWE-367 (Time-of-check Time-of-use (TOCTOU)), CWE-362 (Race Condition)
Vendor Better-Auth
Public PoC No

Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint for the authorization_code grant redeems a single-use authorization code through a non-atomic find-then-delete sequence, allowing two concurrent requests to pass the read step and mint independent access tokens, refresh tokens, and ID tokens; legacy /oauth2/token and /mcp/token paths in oidc-provider and mcp plugins share the same primitive. This issue is fixed in version 1.6.11.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Better-Auth Better-Auth\/Oauth-Provider
cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
1.6.0 1.6.11
Better-Auth Better_Auth
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*
1.6.0 1.6.11