Live threats

All CVEs / Better-auth

CVE-2026-53517Better-auth/oauth-provider

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
—
Auth required
Yes
Published
Jul 15, 2026
Updated
Jul 21, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362, CWE-367
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Better-auth/oauth-provider.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
better-authbetter-auth/oauth-provider≥ 1.6.0 < 1.6.11
better-authbetter_auth≥ 1.4.9 < 1.6.11
better-authbetter_auth1.4.8
better-authbetter_auth1.4.8

Official sources

References

Links published by the sources. Open them with care.