CVE-2026-67335
published medium CVSS 4.0 · 6.0better-auth before 1.6.2 OAuth State Validation Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth0 to < 1.6.2 (affected · semver) · 1.6.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | 0 to < 1.6.2 (affected · semver)1.6.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-287 Improper Authentication
References
2- GitHub Security Advisory (GHSA-wxw3-q3m9-c3jr) https://github.com/better-auth/better-auth/security/advisories/GHSA-wxw3-q3m9-c3jr
- VulnCheck Advisory: better-auth before 1.6.2 OAuth State Validation Bypass https://www.vulncheck.com/advisories/better-auth-before-oauth-state-validation-bypass
Provider assertions
2VulnCheck · cna
better-auth before 1.6.2 OAuth State Validation Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30c56a3c30229b464487a48535d42647ff5cbf849c7a46c974f9c7f2b5ec6416
- Ingested
- 23 Sep 2026, 09:27:16 UTC
- Source record
- Official CVE record