Critical severity · published Oct 22, 2026
CVE-2026-114607
better-auth: OAuth state can be used as a Magic Link to sign in as another user
New
9.1
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
better-auth · better-auth
>= 1.4.0-beta.18, < 1.7.7 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-114607
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-114607
github.com
https://github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a
github.com
https://github.com/better-auth/better-auth/pull/11494
github.com
https://github.com/better-auth/better-auth/releases/tag/v1.7.7
github.com
https://github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm
More from better-auth
9.6
CVE-2026-53513
Better Auth: Server-side request forgery via unvalidated OIDC endpoints on @better-auth/sso provider registration
9.3
CVE-2025-61928
Better Auth: Unauthenticated API key creation through api-key plugin
9.1
CVE-2026-110862
Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link
9.1
CVE-2026-53512
Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins
8.7
CVE-2026-67336
better-auth before 1.6.11 Insecure Cryptographic Defaults via oidcProvider
