En resumen
- CVE-2025-71402 es una vulnerabilidad BAJO (CVSS 2.0) que afecta a better-auth.
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.27%, mayor que el 18.9% de las vulnerabilidades.
- Solución: actualizar a 1.4.0 o posterior.
| Package | Affected versions | Patched versions |
|---|
| better-auth npm | ≥ 1.3.34, < 1.4.0
| 1.4.0
|
Description
Summary
A vulnerability was identified in the multi-session plugin for Better Auth, specifically in the /sign-out after-hook. The hook trusts raw multi-session cookies and forwards the extracted values directly to internalAdapter.deleteSessions without verifying the cookie signature. Because cookie values are not validated with getSignedCookie (or any equivalent check), an attacker can supply a forged _multi-* cookie to trigger deletion of arbitrary session tokens.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free