p PatchFirst

CVE-2026-67335

CVE-2026-67335 · better-auth before 1.6.2 OAuth State Validation Bypass

This page contains facts from public vulnerability sources. Check the original advisory before updating.

better-auth versions before 1.6.2 fail to validate the OAuth state parameter against the stored nonce when using cookie-backed state storage without PKCE. Attackers can forge the state parameter and supply an attacker-controlled authorization code to create authenticated sessions bound to the attacker's external identity or persistently link attacker accounts to victim profiles.

CVSS 6.0 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • better-auth

    Versions
    • ≥ 0, < 1.6.2: Affected (semver)
    • 1.6.2: Not affected (semver)

    Update to 1.6.2

  • better-auth npm

    Affected ranges
    • SEMVER: < 1.6.2

    Update to 1.6.2

Original sources

Check your server →