Cross-Session Data Exposure and Authorization Bypass in deepseek-mcp-server
An insecure global SessionStore implementation in deepseek-mcp-server versions 1.4.2 through 1.6.9 allows unauthorized callers to enumerate and manipulate other users' conversation contexts via the HTTP transport.
CVE search metadata
CVE search record: CVE-2026-55604. Severity: high. CVSS: 8.6. EPSS: 0.37%. KEV: no. Product: deepseek-mcp-server (1.4.2 to 1.6.9). Brief: Cross-Session Data Exposure and Authorization Bypass in deepseek-mcp-server. Brief link: https://feed.craftedsignal.io/briefs/2026-08-deepseek-mcp-server-auth-bypass/
The deepseek-mcp-server package, specifically when configured for HTTP transport, contains a critical authorization vulnerability (CVE-2026-55604) that leads to cross-session data exposure. The vulnerability stems from a process-global SessionStore implementation that fails to bind session identifiers to specific, authenticated transport sessions. Because the server treats user-supplied session_id strings as globally accessible keys, any client connected to the HTTP server can enumerate existing session IDs via the deepseek_sessions tool and subsequently interact with those sessions using the deepseek_chat tool.
This flaw effectively bypasses tenant isolation, permitting an attacker to read the conversation history of other users, inject new messages into ongoing conversations, or clear existing sessions. This issue affects versions 1.4.2 through 1.6.9. It does not impact the STDIO transport mode, as each STDIO connection runs in an isolated process.
Attack Chain
- The attacker connects to the
deepseek-mcp-serverinstance over the HTTP transport. - The attacker calls the
deepseek_sessionstool with an action parameter of 'list' to enumerate all currently active session IDs in the global store. - The server responds with a list of active
session_idvalues, including those belonging to other connected users. - The attacker selects a target
session_idfrom the enumerated list. - The attacker executes the
deepseek_chattool, providing the targetsession_idas an input parameter. - The
deepseek_chatimplementation insrc/tools/deepseek-chat.tsloads the victim's conversation history associated with the supplied ID. - The attacker's new prompt is appended to the victim's existing conversation context and sent to the LLM backend.
- The final assistant response is stored back into the victim's session, effectively poisoning or hijacking the conversation flow.
Impact
The vulnerability allows for complete compromise of conversation privacy and integrity for all users connected to a multi-client HTTP instance of the server. Attackers can perform unauthorized data exfiltration of chat logs, influence the context of ongoing sessions, and perform denial-of-service by clearing session state. The number of impacted organizations is potentially high, given the use of MCP servers in collaborative AI development environments.
Recommendation
- Immediately upgrade
arikusi/deepseek-mcp-serverto version 1.7.0 or later to ensure proper session store isolation. - For environments where upgrading is not immediately feasible, disable the HTTP transport by unsetting the
TRANSPORTenvironment variable to force the use of the unaffected STDIO transport. - Audit MCP server access logs to identify anomalous enumeration activity, specifically frequent requests to
deepseek_sessionsfollowed by rapid interactions withdeepseek_chatusing varying session identifiers. - Implement network-level access controls to restrict exposure of the HTTP-based MCP server instance to trusted clients only.
Immediate actions
Patch deepseek-mcp-server to version 1.7.0
Mitigations
Disable HTTP transport and default to STDIO
CVE-2026-55604