Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. better-auth
  4. ›
  5. CVE-2026-114607

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

October 27, 2026

Better Auth accepts an OAuth sign-in state value as a Magic Link token. An attacker can start an OAuth sign-in with any email address and use the returned state value to finish a Magic Link sign-in for that address. They never prove that they can read that email.

References

  • github.com/advisories/GHSA-965c-763c-88jm
  • github.com/better-auth/better-auth/commit/ac54bfd67821a7607533af2059858b12bc54e26a
  • github.com/better-auth/better-auth/pull/11494
  • github.com/better-auth/better-auth/releases/tag/v1.7.7
  • github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm
  • nvd.nist.gov/vuln/detail/CVE-2026-114607

Code Behaviors & Features

Detect and mitigate CVE-2026-114607 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.4.0-beta.18 before 1.7.7

Fixed versions

  • 1.7.7

Solution

Upgrade to version 1.7.7 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

npm/better-auth/CVE-2026-114607.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:10 +0000.