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.
Published: 2026-08-01
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 01 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Better-auth better Auth
Vendors & Products Better-auth better Auth

Sat, 01 Aug 2026 12:45:00 +0000

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'}


Subscriptions

Better-auth Better-auth\/oauth-provider Better Auth
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T18:31:13.051Z

Reserved: 2026-07-29T13:07:47.016Z

Link: CVE-2026-67337

cve-icon Vulnrichment

Updated: 2026-08-03T18:31:08.688Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T03:15:03Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel