VYPR

Better Auth

by Better Auth

Source repositories

CVEs (49)

  • 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-110864HigOct 14, 2026
    risk 0.41cvss 7.4epss 0.00

    Better Auth from 1.5.0-beta.12 before 1.7.7 contains an authentication bypass vulnerability in the OAuth Proxy plugin that allows unauthenticated attackers to sign in as other users by forging encrypted profiles. When the proxy shares the global secret and cookie-stored state is…

  • 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-134313MedNov 21, 2026
    risk 0.37cvss 6.8epss —

    Better Auth (better-auth, @better-auth/kysely-adapter, and @better-auth/drizzle-adapter) before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a race condition with MySQL or MariaDB serial IDs because the inserted row's ID is read via a separate LAST_INSERT_ID() query that…

  • CVE-2026-134311MedNov 21, 2026
    risk 0.37cvss 6.8epss —

    better-auth 1.3.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an incorrect authorization vulnerability in the admin plugin's /admin/update-user endpoint that lets roles holding user:update change another user's phoneNumber and phoneNumberVerified fields.…

  • CVE-2026-134315MedNov 21, 2026
    risk 0.35cvss 6.4epss —

    better-auth 1.4.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability because email-change links record the old and new addresses but not the requesting user. Attackers can open a still-valid link issued for their own account…

  • 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-2026-134317MedNov 21, 2026
    risk 0.31cvss 5.9epss —

    @better-auth/stripe 1.2.0-beta.18 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an authorization bypass vulnerability because the stripeCustomerId user field accepts values from sign-up and update-user requests, letting a user replace their own Stripe customer ID…

  • CVE-2026-134312MedNov 21, 2026
    risk 0.31cvss 5.9epss —

    Better Auth 0.4.9 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an OAuth sign-in authentication flaw that treats unverified provider emails as verified, including string "false" email_verified claims, unchecked generic OAuth profile/ID-token subject mismatches, and…

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