CVE-2026-53517: Better Auth · OAuth refresh-token rotation forks the token family on concurrent redemption
Affects @better-auth/oauth-providerSource GCVE Database
Not known to be exploited · CVSS 8.1 High : upgrade to 1.6.11 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.6.11, 1.6.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade @better-auth/oauth-provider to 1.6.11; better-auth to 1.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@better-auth/oauth-provider | Affected
| Fixed in
|
| npmbetter-auth | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @better-auth/oauth-provider version 1.6.11 or later, which includes an atomic compare-and-swap fix for refresh token rotation and adds a unique constraint on refresh tokens. If upgrading is not immediately possible, no full workaround closes the vulnerability; developers should avoid concurrent refresh token redemption scenarios (e.g., avoid sharing refresh tokens across browser tabs without mutexes or retrying refresh token requests concurrently). The patch is available and should be applied promptly.
Description
A vulnerability in @better-auth/oauth-provider versions >=1.6.0 and <1.6.11 allows concurrent refresh token redemption to fork the refresh token family. This occurs because the refresh token rotation process is not atomic, enabling two concurrent requests using the same refresh token to both succeed and mint new tokens. This breaks the intended single-use refresh token rotation and can allow indefinite access token renewal until expiration or revocation. The issue is fixed in version 1.6.11 by implementing an atomic compare-and-swap operation during token rotation and adding a unique constraint on refresh tokens.
References
- github.com/better-auth/better-auth/security/advisories/GHSA-392p-2q2v-4372 (opens in a new tab)
- github.com/better-auth/better-auth (opens in a new tab)
- github.com/better-auth/better-auth/releases/tag/v1.6.0 (opens in a new tab)
- github.com/better-auth/better-auth/releases/tag/v1.6.11 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-53517 (opens in a new tab)
- github.com/better-auth/better-auth/commit/c6918ecc9e3a75892169415d7f6c95b591b6a52d (opens in a new tab)