Skip to content

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

LowCVSS 2.0 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm better-auth < 1.4.0 1.4.0 Fixed
npm better-auth(npm) >= 1.3.34, < 1.4.0 1.4.0 Fixed

Affected products

ProductAffected versionsFixed in
npm better-auth < 1.4.0 1.4.0
npm better-auth(npm) >= 1.3.34, < 1.4.0 1.4.0

References