CVE-2025-71402
2
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| better-auth | better-auth | 0 < 1.4.0 | affected |
| better-auth | better-auth | 1.4.0 | unaffected |
Weaknesses
- CWE-347: Improper Verification of Cryptographic Signature
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-wmjr-v86c-m9jj
- https://www.vulncheck.com/advisories/better-auth-before-session-revocation-via-forged-cookie
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.