CVE Catalog

CVE-2026-67335

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

7th percentile - higher than 7% of all known CVEs

Summary

Better-auth before version 1.6.2 fails 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.

Risk Assessment

The risk includes the possibility of account takeover by binding the session to the attacker's identity, potentially leading to unauthorized access and permanent account compromise.

Recommendation

It is recommended to update the better-auth library to version 1.6.2 or later and implement PKCE for OAuth flows.

Other vulnerabilities in better-auth

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS