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

CVE-2026-53516: Better Auth has an account takeover issue via OAuth auto-link to unverified pre-registered email

July 7, 2026 (updated July 20, 2026)

The OAuth callback’s auto-link gate in handleOAuthUserInfo admits an implicit account link whenever the provider asserts email_verified: true, without requiring the local user row’s emailVerified to also be true. An attacker who pre-registers a victim’s email through /sign-up/email (which writes a row with emailVerified: false) can have the victim’s later OAuth identity bound to the attacker’s user row, granting both a password login and the victim’s OAuth identity on the same account. This is the pre-account-hijacking class — the same shape as Microsoft “nOAuth” (2023) and the Sign in with Apple JWT flaw (2020).

References

  • github.com/advisories/GHSA-g38m-r43w-p2q7
  • github.com/better-auth/better-auth/commit/da7e50beee849c59a2ed1ec6b3a38cc6ab9fb563
  • github.com/better-auth/better-auth/pull/9578
  • github.com/better-auth/better-auth/releases/tag/v1.6.11
  • github.com/better-auth/better-auth/security/advisories/GHSA-g38m-r43w-p2q7
  • nvd.nist.gov/vuln/detail/CVE-2026-53516

Code Behaviors & Features

Detect and mitigate CVE-2026-53516 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 before 1.6.11

Fixed versions

  • 1.6.11

Solution

Upgrade to version 1.6.11 or above.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/better-auth/CVE-2026-53516.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:42 +0000.