p PatchFirst

PatchFirst · Latest vulnerabilities

@better-auth/oauth-provider vulnerabilities

Vulnerabilities published for @better-auth/oauth-provider in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2026-67332

    Medium · CVSS 5.3EPSS 0.26%Fix available

    @better-auth/oauth-provider before 1.7.0-beta.4 Authorization Bypass

    @better-auth/oauth-provider before 1.7.0-beta.4 fails to bind access-token audience to the authorization grant, allowing clients to request tokens for unrelated resources. Attackers can complete an OAuth flow and obtain access tokens whose audience targets resource servers the authorization never covered, bypassing intended authorization boundaries.

    • Update to 1.7.0-beta.4
    Published Updated
  2. CVE-2026-53517

    High · CVSS 8.1EPSS 0.42%Fix available

    Better Auth OAuth Provider: Refresh Token Rotation Race Condition Allows Concurrent Replay and Token Family Forking

    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.

    • Update to 1.6.11
    Published Updated
  3. CVE-2026-53518

    High · CVSS 7.6EPSS 0.41%Fix available

    Better Auth OAuth Provider: Race Condition in Authorization Code Exchange Enables Multi-Use Code Redemption

    Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/token endpoint for the authorization_code grant redeems a single-use authorization code through a non-atomic find-then-delete sequence, allowing two concurrent requests to pass the read step and mint independent access tokens, refresh tokens, and ID tokens; legacy /oauth2/token and /mcp/token paths in oidc-provider and mcp plugins share the same primitive. This issue is fixed in version 1.6.11.

    • Update to 1.6.11
    Published Updated
  4. CVE-2026-41427

    High · CVSS 7.1EPSS 0.21%Fix available

    Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.5, the clientPrivileges option documents a create action, but the OAuth client creation endpoints did not invoke the hook before persisting new clients. Deployments that configured clientPrivileges to restrict client registration were not actually restricted — any authenticated user could reach the create endpoints and register an OAuth client with attacker-chosen redirect URIs and metadata. This vulnerability is fixed in 1.6.5.

    • Update to 1.6.5
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →