Vulnerabilities

CVE-2026-53518

High 8.1 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-07-15
Last modified
2026-07-21
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 14 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
better-auth (npm) < 1.6.11 Affected
better-auth oauth-provider (npm) ≥ 1.6.0, < 1.6.11 Affected
Better-auth Better Auth ≥ 1.6.0, < 1.6.11 Affected
Better-auth Better-auth/oauth-provider ≥ 1.6.0, < 1.6.11 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities