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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm better-auth | < 1.4.0 | 1.4.0 |
| npm better-auth(npm) | >= 1.3.34, < 1.4.0 | 1.4.0 |
References
- GitHub Security Advisory (GHSA-wmjr-v86c-m9jj) vendor-advisory
- VulnCheck Advisory: better-auth before 1.4.0 Session Revocation via Forged Cookie third-party-advisory
- github.com
- github.com product
- github.com
- ENISA EUVD EUVD-2025-210584 third-party-advisory