What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: better-auth 1.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71402 or the next vulnerability affects your stack