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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-01 13:17
Updated : 2026-09-08 20:34
NVD link : CVE-2026-67335
Mitre link : CVE-2026-67335
CVE.ORG link : CVE-2026-67335
JSON object : View
Products Affected
No product.
CWE
CWE-287
Improper Authentication
