VYPR

Vendor CVEs

Better Auth

All CVEs

32 total · sorted by risk
  • CVE-2026-53513CriJul 15, 2026
    risk 0.55cvss 9.6epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the @better-auth/sso plugin's POST /sso/register and POST /sso/update-provider endpoints accept attacker-controlled oidcConfig.userInfoEndpoint, tokenEndpoint, and jwksEndpoint URLs when…

  • CVE-2025-61928CriOct 9, 2025
    risk 0.55cvss epss 0.18

    Better Auth is an authentication and authorization library for TypeScript. In versions prior to 1.3.26, unauthenticated attackers can create or modify API keys for any user by passing that user's id in the request body to the `api/auth/api-key/create` route. `session?.user ??…

  • CVE-2026-53512CriJul 15, 2026
    risk 0.52cvss 9.1epss 0.00

    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…

  • CVE-2026-67336HigAug 1, 2026
    risk 0.50cvss 8.7epss 0.00

    better-auth versions before 1.6.11 contain insecure cryptographic defaults in the oidcProvider and mcp plugins that advertise the none algorithm and accept plain PKCE by default. Attackers can exploit algorithm negotiation to accept unsigned tokens or intercept authorization…

  • CVE-2025-71399HigAug 2, 2026
    risk 0.49cvss 8.6epss 0.00

    Better Auth relies on better-call, which uses the rou3 router library. In affected versions of rou3, paths are normalized by removing empty segments, so /path, //path, and ///path resolve to the same route. In Better Auth versions prior to 1.4.5 (which bundles the fixed rou3),…

  • CVE-2026-67331HigAug 1, 2026
    risk 0.47cvss 8.3epss 0.00

    better-auth SCIM versions from 1.5.0 before 1.7.0-beta.4 fail to bind non-organization SCIM providers to their creator by default, allowing authenticated users to manage other users' providers. Attackers can regenerate SCIM bearer tokens, invalidate legitimate tokens, and…

  • CVE-2026-67327HigAug 1, 2026
    risk 0.47cvss 8.3epss 0.00

    better-auth versions >= 1.1.3 and < 1.6.22 (and pre-release versions >= 1.7.0-beta.0 and < 1.7.0-beta.10) are vulnerable to account takeover via pre-account hijacking on magic-link and email-OTP sign-in when open email/password registration is enabled. An attacker registers an…

  • CVE-2026-53516HigJul 15, 2026
    risk 0.47cvss 8.3epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, Better Auth's OAuth callback auto-link gate in handleOAuthUserInfo accepts implicit account linking when the OAuth provider asserts email_verified: true without requiring the local user…

  • CVE-2026-67328HigAug 1, 2026
    risk 0.46cvss 8.1epss 0.00

    @better-auth/sso versions before 1.6.21 contain multiple authentication bypass vulnerabilities in SSO provider handling that allow attackers to sign in as arbitrary users. Attackers can exploit domain verification parsing mismatches, orphaned provider accounts, unbound SAML…

  • CVE-2026-53518HigJul 15, 2026
    risk 0.46cvss 8.1epss 0.00

    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…

  • CVE-2026-53517HigJul 15, 2026
    risk 0.46cvss 8.1epss 0.00

    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…

  • CVE-2026-53514HigJul 15, 2026
    risk 0.43cvss 7.7epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, and in 1.6.14 and later when invitation IDs can be obtained outside the invited mailbox and requireEmailVerificationOnInvitation: true is not enabled, the organization plugin's…

  • CVE-2026-45337HigJul 15, 2026
    risk 0.42cvss 7.6epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the deviceAuthorization plugin treats any authenticated session as the owner of any pending device code because GET /device does not claim the row and POST /device/approve and…

  • CVE-2026-67333HigAug 1, 2026
    risk 0.40cvss 7.2epss 0.00

    better-auth before 1.6.13 (and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3) fail to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin (which wraps the same provider). An attacker can register an OAuth client with…

  • CVE-2026-45364HigMay 28, 2026
    risk 0.40cvss 7.3epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. Prior to 1.4.17 and 1.5.0-beta.9, Better Auth's HTTP rate limiter keyed each request by the exact textual IP address it received in x-forwarded-for (or the configured IP-bearing header). IPv6 clients…

  • CVE-2025-71400HigAug 2, 2026
    risk 0.39cvss 7.1epss 0.00

    better-auth passkey versions before 1.4.0 contain an insecure direct object reference vulnerability in the passkey deletion endpoint that allows authenticated users to delete arbitrary passkeys by ID. Attackers with valid sessions can submit crafted requests to the…

  • CVE-2026-67329HigAug 1, 2026
    risk 0.39cvss 7.1epss 0.00

    @better-auth/stripe versions >= 1.4.11 and < 1.6.21, and >= 1.7.0-beta.0 and < 1.7.0-beta.10, contain an authorization bypass in organization subscription actions. The middleware validates the organization ID taken from the request query string against the authorizeReference…

  • CVE-2025-71403HigAug 1, 2026
    risk 0.39cvss 7.1epss 0.00

    better-auth versions before 1.1.20 contain a bypass vulnerability in trustedOrigins validation logic affecting absolute URLs and wildcard domains. Attackers can construct malicious callbackURL parameters that pass origin checks and trigger open redirects to steal sensitive…

  • CVE-2026-53515HigJul 15, 2026
    risk 0.39cvss 7.1epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. From 1.2.10 until 1.6.11, the @better-auth/sso plugin's POST /sso/register endpoint lets any organization member attach a new SSO provider to that organization because registerSSOProvider checks only for…

  • CVE-2026-67337MedAug 1, 2026
    risk 0.35cvss 6.5epss 0.00

    better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session…

  • CVE-2026-67332MedAug 1, 2026
    risk 0.35cvss 6.4epss 0.00

    @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…

  • CVE-2026-41427MedApr 24, 2026
    risk 0.35cvss 6.5epss 0.00

    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…

  • CVE-2025-27143MedFeb 24, 2025
    risk 0.33cvss 6.1epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. Prior to version 1.1.21, the application is vulnerable to an open redirect due to improper validation of the callbackURL parameter in the email verification endpoint and any other endpoint that accepts…

  • CVE-2024-56734MedDec 30, 2024
    risk 0.33cvss 6.1epss 0.00

    Better Auth is an authentication library for TypeScript. An open redirect vulnerability has been identified in the verify email endpoint of all versions of Better Auth prior to v1.1.6, potentially allowing attackers to redirect users to malicious websites. This issue affects…

  • CVE-2025-71401MedAug 2, 2026
    risk 0.31cvss 5.9epss 0.00

    better-auth (npm) before 1.4.2 allows an external request to configure baseURL when it is not otherwise defined (e.g., BETTER_AUTH_URL is unset). An attacker able to make the very first request to the server after startup can poison the router's base path, causing all routes to…

  • CVE-2026-67335MedAug 1, 2026
    risk 0.27cvss 5.3epss 0.00

    better-auth versions before 1.6.2 fail to validate the OAuth state parameter against the stored nonce when using cookie-backed state storage without PKCE. Attackers can forge the state parameter and supply an attacker-controlled authorization code to create authenticated…

  • CVE-2025-71404MedAug 1, 2026
    risk 0.26cvss epss 0.00

    better-auth versions after v0.0.2 and before 1.1.16 contain a reflected cross-site scripting (XSS) vulnerability on the /api/auth/error page, where the value of the 'error' URL parameter is reflected as HTML without proper neutralization. An attacker who coerces a user into…

  • CVE-2026-67334LowAug 1, 2026
    risk 0.18cvss 3.8epss 0.00

    better-auth versions before 1.6.11 fail to delete cached sessions when removing users via admin, anonymous, or SCIM endpoints when secondaryStorage is configured and storeSessionInDatabase is false. Attackers can reuse deleted user session tokens to maintain authentication for…

  • CVE-2025-53535LowJul 7, 2025
    risk 0.07cvss epss 0.00

    Better Auth is an authentication and authorization library for TypeScript. An open redirect has been found in the originCheck middleware function, which affects the following routes: /verify-email, /reset-password/:token, /delete-user/callback, /magic-link/verify,…

  • CVE-2025-71402LowAug 1, 2026
    risk 0.06cvss epss 0.00

    better-auth versions greater than 1.3.34 and before 1.4.0 contain a vulnerability in the multi-session plugin's /sign-out after-hook, which trusts raw multi-session cookies and forwards extracted values to internalAdapter.deleteSessions without verifying the cookie signature…

  • CVE-2026-67330CriAug 1, 2026
    risk 0.00cvss 9.9epss 0.00

    @better-auth/scim (a better-auth plugin) versions >= 1.4.0-beta.27 through <= 1.6.21 and >= 1.7.0-beta.0 through <= 1.7.0-beta.9 contain an authorization bypass. SCIM token issuance did not reject provider IDs already used by existing SSO, SAML, OIDC, generic OAuth, or social…

  • CVE-2026-15527MedJul 13, 2026
    risk 0.00cvss 5.3epss 0.00

    A vulnerability has been found in better-auth better-icons up to 1.0.5. This vulnerability affects unknown code of the component scan_project_icons/sync_icon. Such manipulation of the argument icons_file leads to path traversal. An attack has to be approached locally. The…