Skip to main content
← All vulnerabilities
CVE-2025-71402GHSA-WMJR-V86C-M9JJ

better-auth before 1.4.0 Session Revocation via Forged Cookie

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • better-auth better-auth

    fixed in 1.4.0

  • better-authnpm

    From 1.3.34 · fixed in 1.4.0

References 2

GitHub · better-auth/better-auth

vulncheck.com