p PatchFirst

CVE-2025-71402

CVE-2025-71402 · better-auth before 1.4.0 Session Revocation via Forged Cookie

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 2.0 · Low · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • better-auth

    Versions
    • ≥ 0, < 1.4.0: Affected (semver)
    • 1.4.0: Not affected (semver)

    Update to 1.4.0

  • better-auth npm

    Affected ranges
    • SEMVER: ≥ 1.3.34, < 1.4.0

    Update to 1.4.0

Original sources

Check your server →