What’s Vulnerable › Vulnerabilities

CVE-2026-110862: Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link

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.

Affected products

How to fix

Upgrade to a fixed version: better-auth 1.7.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-110862 or the next vulnerability affects your stack