{"id":"CVE-2026-67335","aliases":["GHSA-wxw3-q3m9-c3jr"],"url":"https://o3.security/vulnerability/CVE-2026-67335","summary":"better-auth before 1.6.2 OAuth State Validation Bypass","details":"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.","published":"2026-08-01T12:22:17.178Z","modified":"2026-08-07T11:49:07.585455947Z","cvss":null,"epss":{"score":0.00172,"percentile":0.06809,"asOf":"2026-08-10"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"better-auth","fixedVersion":"1.6.2"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67335.json"},{"type":"ADVISORY","url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-wxw3-q3m9-c3jr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67335"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/better-auth-before-oauth-state-validation-bypass"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:49:07.585455947Z"}}