Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link
better-auth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| better-auth npm |
|
|
Original description
Better Auth from 1.4.0-beta.18 before 1.7.7 contains an authentication bypass vulnerability that allows unauthenticated attackers to sign in as other users by reusing OAuth state values as Magic Link tokens. Attackers can start an OAuth sign-in with a victim's email and submit the returned state to Magic Link verification, gaining sessions or creating falsely email-verified accounts.
From the CVE record · VulnCheck
References
- github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm
- vulncheck.com/advisories/better-auth-1.4.0-beta.18-before-1.7.7-authentication-bypass-via-magic-link
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110862.json
- nvd.nist.gov/vuln/detail/CVE-2026-110862
- nvd.nist.gov/vuln/detail/CVE-2026-114607
- github.com/better-auth/better-auth/pull/11494
- github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a
- github.com/better-auth/better-auth
- github.com/better-auth/better-auth/releases/tag/v1.7.7