{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-114607","published":"2026-10-22T17:16:58.577000Z","last_modified":"2026-10-23T15:17:26.763000Z","status":"Deferred","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-287"],"cpes":[],"cpes_truncated":false,"vendors":["better-auth"],"products":["better-auth/better-auth"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-965c-763c-88jm","ecosystem":"npm","name":"better-auth","purl":"pkg:npm/better-auth","ranges":[{"introduced":"1.4.0-beta.18","fixed":"1.7.7"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-114607/","html_en":"/en/cve/CVE-2026-114607/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-114607","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-114607"},"untrusted":{"vendor_name":"better-auth","product_name":"better-auth","desc_en":"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":[{"untrusted_vendor":"better-auth","untrusted_product":"better-auth","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"5b0b93aae29b13da15d39b7b7a6e8ca8","generated":"2026-11-26T23:24:35.389379Z","es":{"untrusted_title":"Autenticación insegura en Magic Link y OAuth en Better Auth","untrusted_summary":"Better Auth versiones 1.4.0-beta.18 a 1.7.6 permite que un atacante no autenticado obtenga sesiones de usuarios existentes o cree cuentas falsamente verificadas. La vulnerabilidad ocurre cuando Magic Link y OAuth están habilitados con configuraciones específicas, permitiendo reutilizar el estado de OAuth como token de Magic Link sin validación adecuada."},"en":{"untrusted_title":"Insecure Magic Link and OAuth authentication in Better Auth","untrusted_summary":"Better Auth versions 1.4.0-beta.18 through 1.7.6 allows an unauthenticated attacker to obtain sessions for existing users or create falsely verified accounts. The vulnerability occurs when Magic Link and OAuth are enabled with specific configurations, allowing OAuth state to be reused as a Magic Link token without proper validation."},"remediation":{"status":"fix","fixed_versions":["1.7.7"],"untrusted_action_es":"Actualiza Better Auth a la versión 1.7.7 o superior para corregir la vulnerabilidad de autenticación.","untrusted_action_en":"Update Better Auth to version 1.7.7 or later to fix the authentication vulnerability.","vendor_url":"https://github.com/better-auth/better-auth/releases/tag/v1.7.7"},"reviewed":false},"references":[{"url":"https://github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a","tags":[]},{"url":"https://github.com/better-auth/better-auth/pull/11494","tags":[]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.7.7","tags":[]},{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm","tags":[]}]}}