Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application with valid account
-
DeliveryIdentify target session token IDs to revoke
-
ExploitCraft forged _multi-* cookie with victim session identifiers
-
ExecutionSubmit POST to /sign-out endpoint with crafted cookie
-
PersistAfter-hook forwards unverified values to deleteSessions()
-
ImpactVictim sessions revoked without authorization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires all of the following: (1) the better-auth multi-session plugin must be explicitly enabled in the application - it is not active by default, and applications not using this plugin are entirely unaffected; (2) the attacker must hold a valid authenticated session with the application sufficient to reach the /sign-out endpoint (the CVSS 4.0 vector rates this PR:H, though the advisory description implies any authenticated session may suffice - verify with the vendor); (3) the target application must be running better-auth version 1.3.34 through <1.4.0; and (4) the attacker must supply session token IDs belonging to other users, which may require prior discovery through separate means. No code execution, privilege escalation, or data exfiltration is possible through this path - impact is limited to unauthorized session deletion. Applications running better-auth ≥1.4.0 or those that have never enabled the multi-session plugin are not affected. |
| Impact | The provided CVSS 4.0 score of 2.0 is low, driven by PR:H (high privileges required), AT:P (specific attack requirement: multi-session plugin must be enabled), and UI:P (passive user interaction - a victim session must exist to be revoked). Real-world risk is context-dependent: applications using better-auth's multi-session plugin face a meaningful, low-complexity session-disruption vector - an authenticated attacker can systematically revoke other users' sessions, creating a denial-of-service against account accessibility without exploiting any race condition or complex gadget chain. No EPSS data was supplied in this dataset, and the flaw is absent from the CISA KEV catalog, indicating no known active exploitation at time of analysis. The low base score reflects genuine access-gating (requires a valid session and explicit plugin use), but defenders in authentication-sensitive contexts (financial, admin, healthcare) should treat this as an elevated priority because session integrity is a foundational control. The CVSS 4.0 PR:H rating is inconsistent with the description, which implies only a regular authenticated session is needed; this discrepancy should be verified against the vendor fix before making risk classification decisions. |
| Exploit ScenarioDerived | An attacker holding a valid better-auth account crafts an HTTP sign-out request to the application's /sign-out endpoint with a forged |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 01, 2026
Session revocation via forged cookies in better-auth's multi-session plugin (npm, versions 1.3.34 through <1.4.0) allows any authenticated attacker to arbitrarily delete session tokens belonging to other users by supplying a crafted _multi-* cookie to the /sign-out after-hook, which forwards cookie values to internalAdapter.deleteSessions() without verifying the cryptographic signature. The flaw is not listed in the CISA KEV catalog and no public exploit code has been identified, but the low attack complexity makes unauthorized targeted session termination straightforward once an attacker holds any valid application session. Version 1.4.0 resolves the issue via patch commit cfc453a2a6eb02951f9a0a7c944064936e73eee8.
RemediationAI
Upgrade better-auth to version 1.4.0 or later; this is the vendor-confirmed fix (patch commit cfc453a2a6eb02951f9a0a7c944064936e73eee8) and the only fully remediated path. Full details are in the GitHub Security Advisory at https://github.com/better-auth/better-auth/security/advisories/GHSA-wmjr-v86c-m9jj. If an immediate upgrade is not feasible, disabling the multi-session plugin is the most effective compensating control, as the vulnerability is entirely isolated to that plugin's /sign-out after-hook - the trade-off is that users will lose the ability to maintain concurrent sessions. As a lesser mitigation, rate-limiting the /sign-out endpoint per authenticated user can reduce the blast radius of bulk session-deletion attempts but will not prevent exploitation by a patient attacker and should not be treated as a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
better-auth is a TypeScript authentication library distributed via npm (CPE: cpe:2.3:a:better-auth:better-auth:*:*:*:*:*:*:*:*) that provides a multi-session plugin enabling users to maintain several concurrent authenticated sessions. The plugin registers an after-hook on the /sign-out route that reads raw _multi-* cookie values from the incoming request and passes the extracted session token identifiers directly to internalAdapter.deleteSessions(). The root cause is CWE-347 (Improper Verification of Cryptographic Signature): the application's security design relies on signed cookies to ensure the cookie value has not been tampered with by the client, but the after-hook reads the raw (unsigned) cookie instead of calling getSignedCookie or an equivalent verification function. Because cookie values are attacker-controlled HTTP headers, skipping signature verification means any value the attacker supplies - including session IDs belonging to other users - is treated as trusted input and acted upon by the session store.
Know when Jwt Attack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Any authenticated session suffices (PR:L); no victim interaction needed; scope changes because other users' sessions are deleted, not the attacker's own.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 11 npm packages depend on better-auth (10 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.3.34.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27
A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work
EUVD-2025-210584
GHSA-rf63-989x-x4x8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB