Skip to main content
← All vulnerabilities
CVE-2026-67335GHSA-WXW3-Q3M9-C3JR

better-auth before 1.6.2 OAuth State Validation Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • better-auth better-auth

    fixed in 1.6.2

  • better-authnpm

    fixed in 1.6.2

References 2

GitHub · better-auth/better-auth

vulncheck.com