---
title: "CVE-2026-114607: better-auth: OAuth state can be used as a Magic Link to sign in as another user"
url: https://erroneo.us/security/cve/CVE-2026-114607/
description: "CVE-2026-114607 (better-auth (npm)): Better Auth is an authentication and authorization library for TypeScript. From 1.4.0-beta.18 until 1.7.7, deployments…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-22
date_modified: 2026-10-27
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-114607"
kev: false
cvss: 9.1
epss: 0.0042
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.4% , percentile 36: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 36% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes better-auth (npm) >= 1.4.0-beta.18, < 1.7.7, fixed in 1.7.7 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `better-auth` >= 1.4.0-beta.18, < 1.7.7 → fixed: 1.7.7

## Affected products (CVE record)

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

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-11-04): 0.42% probability of exploitation activity in the next 30 days; percentile 36.

## Sources

- [GitHub Advisory GHSA-965c-763c-88jm](https://github.com/advisories/GHSA-965c-763c-88jm)
- [CVE.org record CVE-2026-114607](https://www.cve.org/CVERecord?id=CVE-2026-114607)
- [NVD entry CVE-2026-114607](https://nvd.nist.gov/vuln/detail/CVE-2026-114607)
- [github.com](https://github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm)
- [github.com](https://github.com/better-auth/better-auth/pull/11494)
- [github.com](https://github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a)
- [github.com](https://github.com/better-auth/better-auth/releases/tag/v1.7.7)

---
Source page: https://erroneo.us/security/cve/CVE-2026-114607/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
