CVE-2026-67335 PUBLISHED

better-auth before 1.6.2 OAuth State Validation Bypass

Assigner: VulnCheck
Reserved: 29.07.2026 Published: 01.08.2026 Updated: 01.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor better-auth
Product better-auth
Versions Default: unaffected
  • affected from 0 to 1.6.2 (excl.)
  • Version 1.6.2 is unaffected

Credits

  • Jvr2022 reporter
  • alavesa reporter

References

Problem Types

  • Improper Authentication CWE