Live threats

All CVEs / better-auth

CVE-2026-110862better-auth

Authentication Bypass in Better Auth via OAuth State Token Reuse

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Oct 14, 2026
Updated
Oct 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Better Auth versions 1.4.0-beta.18 through 1.7.6 contains an authentication bypass vulnerability allowing unauthenticated attackers to sign in as other users by reusing OAuth state values as Magic Link tokens. An attacker can initiate an OAuth sign-in with a victim's email and submit the returned state to Magic Link verification to gain sessions or create falsely email-verified accounts.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.7.7

Update Better Auth to version 1.7.7 or later to fix the authentication bypass vulnerability.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for better-auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm better-auth ≥ 1.4.0-beta.18 < 1.7.7 1.7.7 npm install better-auth@1.7.7

Per OSV / GitHub Advisories (GHSA-965c-763c-88jm). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.