CVE-2026-53517 Better Auth OAuth Provider: Refresh Token Rotation Race Condition Allows Concurrent Replay and Token Family Forking
HighCVSS 8.1
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
6 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| better-auth better auth | = 1.4.8; = 1.4.8-beta7; >= 1.4.9, < 1.6.11 | 1.6.11 | Fixed |
| better-auth oauth-provider(npm) | >= 1.6.0, < 1.6.11 | 1.6.11 | Fixed |
| better-authoauth-provider | >= 1.6.0, < 1.6.11 | 1.6.11 | Fixed |
| npm better-auth(npm) | >= 1.4.8-beta.7, < 1.6.0 | 1.6.0 | Fixed |
| better-auth | = >= 1.4.8-beta.7, < 1.6.0 | No fix listed | Versions listed |
| better-auth oauth-provider | = >= 1.6.0, < 1.6.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| better-auth | = >= 1.4.8-beta.7, < 1.6.0 | No fix listed |
| better-auth oauth-provider | = >= 1.6.0, < 1.6.11 | No fix listed |
| better-auth oauth-provider(npm) | >= 1.6.0, < 1.6.11 | 1.6.11 |
| npm better-auth(npm) | >= 1.4.8-beta.7, < 1.6.0 | 1.6.0 |
| better-authoauth-provider | >= 1.6.0, < 1.6.11 | 1.6.11 |
| better-auth better auth | >= 1.4.9, < 1.6.11 | 1.6.11 |
| better-auth better auth | = 1.4.8 | No fix listed |
| better-auth better auth | = 1.4.8-beta7 | No fix listed |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-392p-2q2v-4372 mitigation vendor-advisory
- https://github.com/better-auth/better-auth/commit/c6918ecc9e3a75892169415d7f6c95b591b6a52d patch
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11 release-notes
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product