CRITICAL🇵🇱 Wersja polska

CVE-2026-53512

CVSS 9.1v4.0pub. 2026-07-15upd. 2026-07-21

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the legacy oidcProvider and mcp plugins expose OAuth token endpoints whose refresh_token grant authenticates only possession of the bound refreshToken row and matching client_id, without verifying the confidential client's client_secret, allowing an attacker with a valid refresh_token to mint access tokens and rotated refresh tokens through /api/auth/oauth2/token or /api/auth/mcp/token. The @better-auth/oauth-provider package is not affected. This issue is fixed in version 1.6.11.

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Better Auth

    APP
    Better-Auth
    < 1.6.11
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Auth Bypass
CWE
References

Related vulnerabilities

CVE-2026-53513CRITICAL9.6PL ✓same product

SSRF w Better Auth — niezweryfikowane endpointy OIDC w pluginie SSO

CVE-2026-45337HIGH7.6PL ✓same product

Better Auth: błędna autoryzacja w pluginie deviceAuthorization umożliwia przejęcie sesji urządzenia

CVE-2026-53518HIGH7.6PL ✓same product

Race condition w Better Auth umożliwia wielokrotne użycie kodu autoryzacyjnego OAuth2

CVE-2026-53516HIGH8.3PL ✓same product

Better Auth: Auth Bypass przez nieprawidłowe wiązanie konta OAuth

CVE-2026-53517HIGH8.1PL ✓same product

Race condition w Better Auth — wielokrotne użycie refresh token