Install
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
Source · Homepage · Ask AI Mode · · Markdown
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
- How to Test Better-Auth 2FA OTP in Playwright in Under 150ms (Zero IMAP Polling) dev.to, 9 Nov 2026
- Better Auth with Next.js 16: proxy.ts, Prisma 7 and Server Actions (Tested Setup) dev.to, 23 Oct 2026
- Better Auth OAuth State Reuse Magic Link forkast.news, 15 Oct 2026
- Better Auth vs Clerk vs NextAuth: 5ms vs 67ms [2026] tech-insider.org, 8 Sep 2026
- Why Better Auth's MongoDB adapter can't populate() a Mongoose ref dev.to, 17 Aug 2026
On Hacker News
- From Supabase to Clerk to Better Auth 304 points, 240 comments, 6 May 2026
- Better Auth, by a self-taught Ethiopian dev, raises $5M from Peak XV, YC 282 points, 178 comments, 25 Jun 2025
- Launch HN: Better Auth (YC P25) – Authentication Framework for TypeScript 259 points, 106 comments, 19 May 2025
- Auth.js is now part of Better Auth 179 points, 79 comments, 26 Sep 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.