CVE-2026-53517Better-auth/oauth-provider
High 8.1
Follow: this CVE · Better-auth · Better-auth/oauth-provider We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 15, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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
- Apply the vendor's security update for Better-auth/oauth-provider.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @better-auth/oauth-provider |
≥ 1.6.0 < 1.6.11 |
1.6.11 |
npm install @better-auth/oauth-provider@1.6.11 |
| npm | better-auth |
≥ 1.4.8-beta.7 < 1.6.0 |
1.6.0 |
npm install better-auth@1.6.0 |
Per OSV / GitHub Advisories (GHSA-392p-2q2v-4372). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth/oauth-provider | ≥ 1.6.0 < 1.6.11 |
| better-auth | better_auth | ≥ 1.4.9 < 1.6.11 |
| better-auth | better_auth | 1.4.8 |
| better-auth | better_auth | 1.4.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Mitigation Vendor Advisory