Pricing
Case studies
Login
Start trial
better-auth
Maintainer(s)
bekacru
Latest version
1.7.1
Last updated
Aug 18, 2026
Weekly downloads
5,882,357
npm
MIT
View project
Report vulnerability
Vulnerabilities
Security Contributors
Vulnerability history
0 present
26 patched
0 Mitigation rules
npm: @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL
>= 1.6.17, < 1.7.7
2 hours ago
npm: better-auth: OAuth Proxy lets an attacker sign in as another user
>= 1.5.0-beta.12, < 1.7.7
2 hours ago
npm: better-auth: OAuth state can be used as a Magic Link to sign in as another user
>= 1.4.0-beta.18, < 1.7.7
2 hours ago
npm: better-auth: Device login approval does not show the requesting client or permissions
>= 1.3.8-beta.3, < 1.7.0-rc.3
3 hours ago
npm: Better Auth: Account takeover via pre-account hijacking on magic-link and email-OTP sign-in
>= 1.1.3, < 1.6.22
24/07/2026
npm: Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flows
>= 0.3.4, < 1.6.11
07/07/2026
npm: @better-auth/oauth-provider's OAuth authorization-code grant allows concurrent redemption when two token requests race the find-then-delete primitive
< 1.6.11
07/07/2026
npm: Better Auth: OAuth refresh-token rotation forks the token family on concurrent redemption
>= 1.4.8-beta.7, < 1.6.0
07/07/2026
npm: Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default
< 1.6.11
07/07/2026
npm: Better Auth has stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcp
< 1.6.13
07/07/2026
npm: Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered email
< 1.6.11
07/07/2026
npm: Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin
< 1.6.11
07/07/2026
npm: Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins
< 1.6.11
07/07/2026
npm: Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
>= 1.6.0, < 1.6.11
04/06/2026
npm: Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation
< 1.4.17
15/05/2026
npm: Better Auth: OAuth callback accepts mismatched `state` when cookie-backed state storage is used without PKCE
< 1.6.2
15/05/2026
npm: Better Auth Has Two-Factor Authentication Bypass via Premature Session Caching (session.cookieCache)
< 1.4.9
03/04/2026
npm: Better Auth's rou3 Dependency has Double-Slash Path Normalization which can Bypass disabledPaths Config and Rate Limits
< 1.4.5
16/12/2025
npm: Better Auth affected by external request basePath modification DoS
< 1.4.2
01/12/2025
npm: Better Auth's multi-session sign-out hook allows forged cookies to revoke arbitrary sessions
>= 1.3.34, < 1.4.0
26/11/2025
npm: Better Auth: Unauthenticated API key creation through api-key plugin
< 1.3.26
09/10/2025
npm: Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes
<= 1.2.9
07/07/2025
npm: Better Auth allows bypassing the trustedOrigins Protection which leads to ATO
<= 1.1.20
24/02/2025
npm: Beter Auth has an Open Redirect via Scheme-Less Callback Parameter
< 1.1.20
24/02/2025
npm: Better Auth URL parameter HTML Injection (Reflected Cross-Site scripting)
>= 0.0.2, < 1.1.16
05/02/2025
npm: Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint
< 1.1.6
30/12/2024