{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-114607 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-114607 is a critical vulnerability in better-auth, published on 22 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-114607 and fix it if it is affected.\n\nWhat it is: CVE-2026-114607 is a critical vulnerability in better-auth, published on 22 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-114607 in the wild and no public exploit code.\n\nAffected product: better-auth. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-114607/ (Markdown: https://insights.sbomify.com/CVE-2026-114607/index.md)","id":"CVE-2026-114607","markdown":"https://insights.sbomify.com/CVE-2026-114607/index.md","name":"CVE-2026-114607","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"better-auth: OAuth state can be used as a Magic Link to sign in as another user","id":"CVE-2026-114607","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME","id":"CVE-2026-114608"},"packages":[],"prev":{"headline":"draw.io Desktop: Arbitrary local-file read via read-side IPC (no blessed-path gate)","id":"CVE-2026-114606"},"products":["better-auth"],"published":"2026-10-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-23","vendors":["better-auth"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-114607/"}