Skip to main content
VulnerabilityPublished Updated

CVE-2026-53517: Better Auth · OAuth refresh-token rotation forks the token family on concurrent redemption

Affects @better-auth/oauth-providerSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.1 High : upgrade to 1.6.11 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@better-auth/oauth-providerAffected
  • >=1.6.0 <1.6.11
Fixed in
  • 1.6.11
npmbetter-authAffected
  • >=1.4.8-beta.7 <1.6.0
Fixed in
  • 1.6.0

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

Community reviews

Loading reviews…