Description
better-auth versions greater than 1.3.34 and before 1.4.0 contain a vulnerability in the multi-session plugin's /sign-out after-hook, which trusts raw multi-session cookies and forwards extracted values to internalAdapter.deleteSessions without verifying the cookie signature (e.g., via getSignedCookie). An attacker can supply a forged _multi-* cookie to trigger deletion of arbitrary session tokens.
Published: 2026-08-01
Score: 2 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the sign‑out after‑hook of the multi‑session plugin powered by better‑auth. It accepts raw multi‑session cookies, extracts token values, and forwards them directly to internalAdapter.deleteSessions without validating that the cookie was signed. An attacker can manipulate the _multi‑* cookie to cause the system to delete any session token belonging to any user, effectively forcing a logout or disabling service access for a victim. Although the flaw does not provide code execution, it undermines the integrity of the session state and can be leveraged to deny service or disrupt user sessions.

Affected Systems

This weakness affects the better‑auth authentication library, specifically all releases greater than 1.3.34 and up to, but not including, 1.4.0.

Risk and Exploitability

The CVSS score of this vulnerability is 2, indicating low severity, and no EPSS data is available. It is not listed in the CISA KEV catalog. The most likely attack vector relies on an attacker being able to supply a forged _multi‑* cookie in an HTTP request to a target system that employs the vulnerable plugin. Since cookie manipulation can be carried out from a remote client, the exploit is remotely exploitable but requires the attacker to have some interaction with the target environment, such as controlling a browser session or tricking an authenticated user into sending a crafted request. Due to the low CVSS rating and absence of documented exploitation, the risk is considered low, but the impact on session integrity remains significant for organizations relying on uninterrupted authentication flow.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest version of better‑auth (1.4.0 or later) which removes the insecure after‑hook and enforces cookie signature validation.
  • If upgrading is not immediately possible, disable the multi‑session plugin or nullify the sign‑out after‑hook so signed cookies are no longer forwarded to deleteSessions.
  • Configure the application to reject any _multi‑* cookie that is not cryptographically signed before attempting to delete sessions, ensuring only valid requests are processed.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description better-auth versions greater than 1.3.34 and before 1.4.0 contain a vulnerability in the multi-session plugin's /sign-out after-hook, which trusts raw multi-session cookies and forwards extracted values to internalAdapter.deleteSessions without verifying the cookie signature (e.g., via getSignedCookie). An attacker can supply a forged _multi-* cookie to trigger deletion of arbitrary session tokens.
Title better-auth before 1.4.0 Session Revocation via Forged Cookie
First Time appeared Better-auth
Better-auth better-auth\/oauth-provider
Weaknesses CWE-347
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 cvssV4_0

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


Subscriptions

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

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T19:32:01.754Z

Reserved: 2026-07-18T12:38:41.077Z

Link: CVE-2025-71402

cve-icon Vulnrichment

Updated: 2026-08-03T19:31:57.219Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:16:55.510

Modified: 2026-08-03T20:16:41.720

Link: CVE-2025-71402

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T03:30:14Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature