# CVE-2026-67335: better-auth before 1.6.2 OAuth State Validation Bypass

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2026-05-15T17:33:40.000Z
- Modified: 2026-09-08T20:34:34.997Z
- Also known as: GHSA-wxw3-q3m9-c3jr
- Weaknesses: CWE-287, CWE-345, CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- better-auth better-auth: before 1.6.2 (not affected: 1.6.2)
- better-auth (npm): before 1.6.2

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-wxw3-q3m9-c3jr> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/better-auth-before-oauth-state-validation-bypass> (third-party-advisory)
- <https://github.com/better-auth/better-auth/issues/8897> (web)
- <https://github.com/better-auth/better-auth/pull/8949> (web)
- <https://github.com/better-auth/better-auth/commit/9deb7936aba7931f2db4b460141f476508f11bfd> (web)
- <https://github.com/better-auth/better-auth> (package)

## Sources

- CVE List: [CVE-2026-67335](https://www.cve.org/CVERecord?id=CVE-2026-67335), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-wxw3-q3m9-c3jr](https://github.com/advisories/GHSA-wxw3-q3m9-c3jr), CC-BY-4.0, modified 2026-08-02
- NVD: [CVE-2026-67335](https://nvd.nist.gov/vuln/detail/CVE-2026-67335), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-67335 · Whole record: https://cve.day/CVE-2026-67335.json · Rebuilt by cve.day 2026-11-25T22:59:30.794Z
