Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-67335 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-287Improper Authentication[email protected]

Affected Products

ProductVersions
better-auth
< 1.6.2 (semver)

CPE

  • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*

Remediation

  • Upgrade: 1.6.2moderate effort
  • Workaround:low effort

    Switch `storeStateStrategy` back to "database" (the default). This closes the cookie-only bypass without a code change.

  • Workaround:low effort

    Enable `pkce: true` on every affected `genericOAuth` provider. The `codeVerifier` is the missing primitive that the attacker cannot supply.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-67335
NVD Published Date:
Aug 1, 2026
NVD Last Modified:
Sep 8, 2026
Source:
[email protected]
CVE-2026-67335 Details - Not Deferred