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,...
Vendor
better-auth vulnerabilities
39 published CVES affecting better-auth, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 39
- Critical
- 7
- High
- 20
- Medium
- 7
- Low
- 5
- Unscored
- 0
- CISA KEV
- 0
Products
- better-auth 15
- better auth 10
- @better-auth/scim 6
- @better-auth/sso 5
- oauth-provider 5
- @better-auth/passkey 4
- @better-auth/drizzle-adapter 3
- @better-auth/kysely-adapter 3
- @better-auth/stripe 3
- better-authoauth-provider 3
- better-authsso 2
- @better-auth/electron 1
- @better-auth/expo 1
- better-icons 1
Latest better-auth CVEs
Newest publication first · page 2 of 2
-
HighCVSS 7.6 EPSS 0.41%
-
CriticalCVSS 9.6 EPSS 0.25%
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 s...
-
CVE-2026-53516 Better Auth: Account takeover via OAuth auto-link to unverified pre-registered email
PublishedHighCVSS 8.3 EPSS 0.29%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 ro...
-
MediumCVSS 4.8 EPSS 0.17%
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 exploit...
-
HighCVSS 8.3
Am I affected? Users are affected if all of these hold: They install and register the @better-auth/scim plugin (plugins: [scim()]). They create SCIM providers without an organizationId, that is, non-organization ("personal") providers. Organization-scoped providers are not affect...
-
LowCVSS 3.8
Am I affected? Users are affected if all of the following are true: They configure secondaryStorage on betterAuth(...) (Redis, KV, or any external session cache). session.storeSessionInDatabase is left unset or set to false (the default). Their application's deployment uses one o...
-
MediumCVSS 6.4
Am I affected? Users are affected if all of the following hold: Their application depends on @better-auth/oauth-provider on any stable 1.6.x release (the stable line is not patched) or on a pre-release before 1.7.0-beta.4. Their application either configures validAudienceswith mo...
-
HighCVSS 7.3 EPSS 0.50%
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 contr...
-
CVE-2026-41427 Better Auth OAuth 2.1 Provider: Unprivileged users can register OAuth clients
PublishedHighCVSS 7.1 EPSS 0.38%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 clientPrivi...
-
HighCVSS 7.1
Summary Affected versions of the better-auth passkey plugin allow users with any valid session to delete arbitrary passkeys via their ID using POST /passkey/delete-passkey. Details ctx.body.id is implicitly trusted and used in passkey deletion queries. better-auth applications co...
-
CriticalCVSS 9.3 EPSS 0.81%
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 ?? (authR...
-
LowCVSS 2.1 EPSS 0.73%
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, /oauth-proxy-ca...
-
MediumCVSS 6.9 EPSS 0.65%
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 cal...
-
HighCVSS 7.9 EPSS 0.55%
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 user...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.