Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-110862

CRITICAL 9.3EPSS 41%

better-auth: OAuth state can be used as a Magic Link to sign in as another user

Also known as CVE-2026-114607, GHSA-965c-763c-88jm

Mitigation

  • Upgrade better-auth to 1.7.7 or later.

Who should check

  • Projects that depend on npm package better-auth (>= 1.4.0-beta.18, < 1.7.7)
  • Anyone running better-auth >= 1.4.0-beta.18, < 1.7.7

Vulnerability facts

Affected
better-auth >= 1.4.0-beta.18, < 1.7.7
Fixed in
1.7.7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-287
Published
Modified

Description

Better Auth is an authentication and authorization library for TypeScript. From 1.4.0-beta.18 until 1.7.7, deployments that enable Magic Link with storeToken set to plain, or with storeToken set to hashed and the global verification.storeIdentifier setting also set to hashed, enable a built-in social or Generic OAuth provider, and use account.storeStateStrategy set to database can accept an OAuth sign-in state value as a Magic Link token. These settings can cause Magic Link verification records and OAuth state to resolve to the same stored identifier, allowing an unauthenticated attacker to start OAuth sign-in for a known email address and redeem the returned state through Magic Link without controlling the mailbox or completing the provider callback. The attacker can obtain a normal session for an existing user, or create an account incorrectly marked as email verified when sign-up is enabled. This issue is fixed in version 1.7.7.

Affected and fixed versions

Package / productAffectedFixedSource
npm better-auth>= 1.4.0-beta.18, < 1.7.71.7.7osv
better-auth>= 1.4.0-beta.18, < 1.7.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-110862. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-110862.md
Affected: better-auth >= 1.4.0-beta.18, < 1.7.7
Fixed in: 1.7.7

Steps:
1. Search this machine and project for better-auth (npm), better-auth: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-110862 being exploited?

There is no confirmed exploitation: CVE-2026-110862 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-110862?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-110862?

better-auth >= 1.4.0-beta.18, < 1.7.7.

Is there a fix for CVE-2026-110862?

Yes. Fixed in 1.7.7. Upgrade better-auth to 1.7.7 or later.

How do I check if I'm affected by CVE-2026-110862?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors