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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-07-07T20:55:48.000Z
- Modified: 2026-07-21T16:00:22.173Z
- Also known as: GHSA-392p-2q2v-4372
- Weaknesses: CWE-294, CWE-362, CWE-367, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- better-auth better-auth: >= 1.4.8-beta.7, < 1.6.0
- @better-auth oauth-provider: >= 1.6.0, < 1.6.11
- @better-auth/oauth-provider (npm): from 1.6.0 before 1.6.11
- better-auth (npm): from 1.4.8-beta.7 before 1.6.0
- better-auth better-auth/oauth-provider: from 1.6.0 before 1.6.11
- better-auth better_auth: from 1.4.9 before 1.6.11; 1.4.8

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-392p-2q2v-4372> (mitigation, vendor-advisory, web)
- <https://github.com/better-auth/better-auth/commit/c6918ecc9e3a75892169415d7f6c95b591b6a52d> (patch, web)
- <https://github.com/better-auth/better-auth/releases/tag/v1.6.11> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53517> (advisory)
- <https://github.com/better-auth/better-auth> (package)
- <https://github.com/better-auth/better-auth/releases/tag/v1.6.0> (web)

## Sources

- CVE List: [CVE-2026-53517](https://www.cve.org/CVERecord?id=CVE-2026-53517), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-392p-2q2v-4372](https://github.com/advisories/GHSA-392p-2q2v-4372), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-53517](https://nvd.nist.gov/vuln/detail/CVE-2026-53517), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-53517 · Whole record: https://cve.day/CVE-2026-53517.json · Rebuilt by cve.day 2026-11-25T22:59:28.323Z
