Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the…
Historical advisory recorded 25 Oct 2026 13:17:16 UTC. Read the latest advisory.
nvd · CVE-2026-53518
PublishedBetter 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-53518
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-362 · CWE-367
Original publisher date fields
published: 2026-07-15T18:16:48.240
lastModified: 2026-07-21T16:03:12.347
2 source CPE criteria · context only
- cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON