Package · npm
better-auth
Every known advisory for the npm package better-auth, with the affected versions and how widely it is downloaded.
Advisories26
Malicious0
In CISA KEV0
Exposure21,202,582 downloads last week
Newest fixed version among these advisories: 1.7.7. Check your version against each range below.
| Advisory | Affected versions | Published |
|---|---|---|
| CVE-2026-110861 GHSA-44jh-23m7-hpcf @better-auth/drizzle-adapter: Concurrent requests can exceed rate limits on PostgreSQL | 1.6.17 to 1.7.7 | 2026-10-27 |
| CVE-2026-110862 GHSA-965c-763c-88jm better-auth: OAuth state can be used as a Magic Link to sign in as another user | 1.4.0-beta.18 to 1.7.7 | 2026-10-27 |
| CVE-2026-109346 GHSA-q84f-53jg-9ppm better-auth: Device login approval does not show the requesting client or permissions | 1.3.8-beta.3 to 1.7.0-rc.3 | 2026-10-27 |
| CVE-2026-110864 GHSA-r4xp-prcw-77qf better-auth: OAuth Proxy lets an attacker sign in as another user | 1.5.0-beta.12 to 1.7.7 | 2026-10-27 |
| CVE-2026-67327 GHSA-qq9h-g4jm-xgf3 Better Auth: Account takeover via pre-account hijacking on magic-link and email-OTP sign-in | 1.1.3 to 1.6.22 1.7.0-beta.0 to 1.7.0-beta.10 | 2026-07-24 |
| CVE-2026-67334 GHSA-2vg6-77g8-24mp Better Auth: Stale sessions persist after user deletion across admin, anonymous, and SCIM flows | 0.3.4 to 1.6.11 | 2026-07-07 |
| CVE-2026-53517 GHSA-392p-2q2v-4372 Better Auth: OAuth refresh-token rotation forks the token family on concurrent redemption | 1.4.8-beta.7 to 1.6.0 | 2026-07-07 |
| CVE-2026-53518 GHSA-7w99-5wm4-3g79 @better-auth/oauth-provider's OAuth authorization-code grant allows concurrent redemption when two token requests race the find-then-delete primitive | every version to 1.6.11 | 2026-07-07 |
| CVE-2026-67333 GHSA-86j7-9j95-vpqj Better Auth has stored XSS in the auth-server origin via javascript: redirect_uri in oidc-provider and mcp | every version to 1.6.13 1.7.0-beta.0 to 1.7.0-beta.4 | 2026-07-07 |
| CVE-2026-67336 GHSA-9h47-pqcx-hjr4 Better Auth has insecure cryptographic defaults in oidcProvider: alg=none advertised and plain PKCE accepted by default | every version to 1.6.11 | 2026-07-07 |
| CVE-2026-53514 GHSA-fmh4-wcc4-5jm3 Better Auth vulnerable to unauthorized invitation acceptance via unverified email match in organization plugin | every version to 1.6.11 | 2026-07-07 |
| CVE-2026-53516 GHSA-g38m-r43w-p2q7 Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered email | every version to 1.6.11 | 2026-07-07 |
| CVE-2026-53512 GHSA-pw9m-5jxm-xr6h Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins | every version to 1.6.11 | 2026-07-07 |
| CVE-2026-45337 GHSA-cq3f-vc6p-68fh Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending | 1.6.0 to 1.6.11 | 2026-06-04 |
| CVE-2026-45364 GHSA-p6v2-xcpg-h6xw Better Auth: Rate limiter keys IPv6 addresses individually and is bypassable via prefix rotation | every version to 1.4.17 1.5.0-beta.1 to 1.5.0-beta.9 | 2026-05-15 |
| CVE-2026-67335 GHSA-wxw3-q3m9-c3jr Better Auth: OAuth callback accepts mismatched `state` when cookie-backed state storage is used without PKCE | every version to 1.6.2 | 2026-05-15 |
| CVE-2026-67337 GHSA-xg6x-h9c9-2m83 Better Auth Has Two-Factor Authentication Bypass via Premature Session Caching (session.cookieCache) | every version to 1.4.9 | 2026-04-03 |
| CVE-2025-71399 GHSA-x732-6j76-qmhm Better Auth's rou3 Dependency has Double-Slash Path Normalization which can Bypass disabledPaths Config and Rate Limits | every version to 1.4.5 | 2025-12-16 |
| CVE-2025-71401 GHSA-569q-mpph-wgww Better Auth affected by external request basePath modification DoS | every version to 1.4.2 | 2025-12-01 |
| CVE-2025-71402 GHSA-wmjr-v86c-m9jj Better Auth's multi-session sign-out hook allows forged cookies to revoke arbitrary sessions | 1.3.34 to 1.4.0 | 2025-11-26 |
| CVE-2025-61928 GHSA-99h5-pjcv-gr6v Better Auth: Unauthenticated API key creation through api-key plugin | every version to 1.3.26 | 2025-10-09 |
| CVE-2025-53535 GHSA-36rg-gfq2-3h56 Better Auth Open Redirect Vulnerability in originCheck Middleware Affects Multiple Routes | every version to 1.2.10 | 2025-07-07 |
| CVE-2025-27143 GHSA-hjpm-7mrm-26w8 Beter Auth has an Open Redirect via Scheme-Less Callback Parameter | every version to 1.1.20 | 2025-02-24 |
| CVE-2025-71403 GHSA-vp58-j275-797x Better Auth allows bypassing the trustedOrigins Protection which leads to ATO | every version to 1.1.21 | 2025-02-24 |
| CVE-2025-71404 GHSA-9x4v-xfq5-m8x5 Better Auth URL parameter HTML Injection (Reflected Cross-Site scripting) | 0.0.2 to 1.1.16 | 2025-02-05 |
| CVE-2024-56734 GHSA-8jhw-6pjj-8723 Better Auth has an Open Redirect Vulnerability in Verify Email Endpoint | every version to 1.1.6 | 2024-12-30 |
Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.