Intel

AIKIDO-2026-11092

better-auth is vulnerable to Authentication Bypass Using an Alternate Path or Channel

Authentication Bypass Using an Alternate Path or Channel Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

71

High Risk

This Affects:

JSbetter-auth
1.4.9 - 1.6.11
Fixed in 1.6.12
Are you affected? Scan for Free

TL;DR

When two-factor authentication is required on credential sign-in, the library can emit duplicate Set-Cookie headers that still contain valid session_token and session_data values alongside expiring overrides. Anything that reads the raw HTTP response can capture and replay those signed cookies to obtain an authenticated session without completing 2FA when session.cookieCache is enabled, including sensitive two-factor disable flows. The patch scrubs prior matching Set-Cookie entries before expiring cookies and requires a database-backed session for two-factor disable.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

better-auth is vulnerable to Authentication Bypass Using an Alternate Path or Channel in versions 1.4.9 - 1.6.11.

How to fix this

Upgrade the better-auth library to the patch version.