{"id":"CVE-2025-71402","aliases":["CVE-2025-71402","GHSA-wmjr-v86c-m9jj"],"related":[],"kind":"vulnerability","state":"published","title":"better-auth before 1.4.0 Session Revocation via Forged Cookie","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de better-auth superiores a 1.3.34 y anteriores a 1.4.0 contienen una vulnerabilidad en el after-hook /sign-out del plugin de multi-sesión, que confía en las cookies de multi-sesión sin procesar y reenvía los valores extraídos a internalAdapter.deleteSessions sin verificar la firma de la cookie (p. ej., a través de getSignedCookie). Un atacante puede proporcionar una cookie _multi-* falsificada para activar la eliminación de tokens de sesión arbitrarios.","source":"nvd"}],"published":"2025-11-26T22:11:50.000Z","modified":"2026-10-06T22:10:00.247Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"}],"cwes":["CWE-287","CWE-345","CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.4.0","status":"affected"},{"type":"semver","version":"1.4.0","status":"unaffected"}],"vendor":"better-auth","product":"better-auth","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.34","status":"affected","fixed":"1.4.0"}],"ecosystem":"npm","package":"better-auth","purl":"pkg:npm/better-auth","source":"ghsa"}],"references":[{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-wmjr-v86c-m9jj","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/better-auth-before-session-revocation-via-forged-cookie","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/better-auth/better-auth/commit/cfc453a2a6eb02951f9a0a7c944064936e73eee8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/better-auth/better-auth","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.4.0","tags":["web"],"sources":["ghsa"]}],"credits":["mufeedvh"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-03T19:31:34.482Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71402","url":"https://www.cve.org/CVERecord?id=CVE-2025-71402","licence":"CVE Terms of Use","modified":"2026-08-03T19:32:01.754Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wmjr-v86c-m9jj","url":"https://github.com/advisories/GHSA-wmjr-v86c-m9jj","licence":"CC-BY-4.0","modified":"2026-08-02T03:56:46.379Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71402","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71402","licence":"Public domain","modified":"2026-10-06T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:59:12.423Z","epss":{"score":0.00206,"percentile":0.11353,"date":"2026-12-01T12:00:22.000Z"}}