CVE-2026-110862

Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link

Published Oct 14, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Better Auth versions 1.4.0-beta.18 through 1.7.6 allow an attacker to bypass authentication by reusing OAuth state values as magic link tokens. The flaw lets an unauthenticated user submit a state value returned from an OAuth sign‑in attempt that uses a victim’s email. If the state token is accepted during magic link verification, the attacker gains a valid session or creates a false email‑verified account for the victim. This vulnerability results in full impersonation of the victim without any credential compromise. The weakness is a classic authentication bypass (CWE‑287).

Affected Systems

All deployments of Better Auth version 1.4.0-beta.18 up to and including 1.7.6 are affected. The product is referred to as Better Auth:better-auth by the CNA. Any instance that relies on the magic link feature and supports OAuth-based sign‑in during that version range is susceptible.

Risk and Exploitability

The CVSS score of 9.3 classifies this as critical. The EPSS score is not available, but the flaw admits remote exploitation through public OAuth interfaces, making it highly exploitable in a networked environment. Because the issue is not listed in CISA’s KEV catalog, there is no known widespread exploitation at the time of analysis. The likely attack vector is through an externally accessible OAuth endpoint combined with the magic link verification flow, allowing attackers to fabricate state values and hijack sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Better Auth to 1.7.7 or later to obtain the vendor‑supplied fix.
  • If a patch is unavailable, disable magic link verification or remove the endpoint handling magic link requests from your deployment entirely to prevent token reuse.
  • Continuously monitor authentication logs for unexpected OAuth state usage or magic link accesses and enforce strict state token lifetimes to restrict reuse.

Generated by OpenCVE AI on October 15, 2026 at 12:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link
First Time appeared Better-auth
Better-auth better Auth
Weaknesses CWE-287
CPEs cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:*:*:*
Vendors & Products Better-auth
Better-auth better Auth
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 1:34 PM
Reserved
Oct 14, 2026, 10:18 PM
Status
Deferred
Published
Oct 14, 2026, 11:17 PM
Modified
Oct 16, 2026, 6:25 PM