CVE-2026-67337

better-auth before 1.4.9 Two-Factor Authentication Bypass via session.cookieCache

Published Aug 1, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session caching.

Analysis

AI-generated

Technical impact

The vulnerability in better-auth versions prior to 1.4.9 allows an attacker who already possesses valid primary credentials to gain access to routes that normally require second‑factor verification. This occurs when the session.cookieCache feature is enabled, which caches session authentication prematurely, effectively skipping the second‑factor step for subsequent requests.

Affected Systems

better-auth, the <better-auth:better-auth> OAuth provider, is affected in all releases older than 1.4.9. Users running a version before 1.4.9 that has session cookie caching enabled are vulnerable.

Risk and Exploitability

With a CVSS score of 7.1, the vulnerability presents a moderate to high severity risk. The exploit requires the attacker to first obtain legitimate primary credentials, which could be achieved via phishing, credential stuffing, or other standard credential‑based attacks. Although a precise EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, the combination of a high CVSS score and the ease of obtaining primary credentials suggests that exploitation is plausible if not frequently observed. Immediate remediation is advised to prevent unauthorized access to protected resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade better-auth to version 1.4.9 or later to apply the vendor fix.
  • If upgrading is not immediately feasible, disable the session.cookieCache feature in the application configuration to prevent premature session caching.
  • After implementing either of the above steps, re‑validate all user sessions and enforce re‑authentication for users who may have accessed the system during the vulnerable period.

Generated by OpenCVE AI on August 2, 2026 at 03:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Better-auth better Auth
Vendors & Products Better-auth better Auth
Type Values Removed Values Added
Description better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability when session.cookieCache is enabled. Attackers with valid primary credentials can access authenticated routes without completing second-factor verification by exploiting premature session caching.
Title better-auth before 1.4.9 Two-Factor Authentication Bypass via session.cookieCache
First Time appeared Better-auth
Better-auth better-auth\/oauth-provider
Weaknesses CWE-288
CPEs cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
Vendors & Products Better-auth
Better-auth better-auth\/oauth-provider
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 3, 2026, 6:31 PM
Reserved
Jul 29, 2026, 1:07 PM
Status
Deferred
Published
Aug 1, 2026, 1:17 PM
Modified
Sep 8, 2026, 8:34 PM