Security mailing lists by PureSourceCode

CVE-2026-67335

MEDIUM 6.0CVSS 4.0

Better Auth: OAuth callback accepts mismatched `state` when cookie-backed state storage is used without PKCE

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
1 Aug 2026
Last modified
8 Sep 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-287CWE-345CWE-352
Also known as
GHSA-wxw3-q3m9-c3jr
Sources
NVDJSONOSV GHSA-wxw3-q3m9-c3jrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 6.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm better-auth < 1.6.2 1.6.2

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 1 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.