better-auth

The most comprehensive authentication framework for TypeScript.

1.7.29Latest, 28 Nov 2026
86MDownloads, last month
0Advisories on the latest
26Advisories, all versions
MITLicence
31KStars

Known advisories

Severity Advisory Fix Published
Low @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL CVE-2026-110861 Fixed in 1.7.7 27 Oct 2026
Critical better-auth: OAuth state can be used as a Magic Link to sign in as another user CVE-2026-110862 Fixed in 1.7.7 27 Oct 2026
High better-auth: Device login approval does not show the requesting client or permissions CVE-2026-109346 Fixed in 1.7.0-rc.3 27 Oct 2026
High better-auth: OAuth Proxy lets an attacker sign in as another user CVE-2026-110864 Fixed in 1.7.7 27 Oct 2026
High Better Auth: Account takeover via pre-account hijacking on magic-link and email-OTP sign-in CVE-2026-67327 Fixed in 1.6.22, 1.7.0-beta.10 24 Jul 2026
Low Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flows CVE-2026-67334 Fixed in 1.6.11 7 Jul 2026
High Better Auth: OAuth refresh-token rotation forks the token family on concurrent redemption CVE-2026-53517 Fixed in 1.6.0 7 Jul 2026
High @better-auth/oauth-provider's OAuth authorization-code grant allows concurrent redemption when two token requests race the find-then-delete primitive CVE-2026-53518 Fixed in 1.6.11 7 Jul 2026
High Better Auth has stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcp CVE-2026-67333 Fixed in 1.6.13, 1.7.0-beta.4 7 Jul 2026
High Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default CVE-2026-67336 Fixed in 1.6.11 7 Jul 2026
High Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin CVE-2026-53514 Fixed in 1.6.11 7 Jul 2026
High Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered email CVE-2026-53516 Fixed in 1.6.11 7 Jul 2026
Critical Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins CVE-2026-53512 Fixed in 1.6.11 7 Jul 2026
High Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending CVE-2026-45337 Fixed in 1.6.11 4 Jun 2026
High Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation CVE-2026-45364 Fixed in 1.4.17, 1.5.0-beta.9 15 May 2026

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.