Skip to content

AAK-MCP-DEEPSEEK-CVE-2026-55604-001: @arikusi/deepseek-mcp-server below 1.8.0 (unbound session IDs + unauth HTTP transport)

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
DeepseekMcpUnboundSession

What it detects

@arikusi/deepseek-mcp-server from 1.4.2 up to (not including) 1.8.0 accepts caller-supplied session_id values in its process-global SessionStore without binding them to an authenticated principal, so an attacker can enumerate active sessions via deepseek_sessions and resume a victim's conversation via deepseek_chat (CVE-2026-55604, CVSS 8.6); its self-hosted HTTP transport also exposes POST /mcp with no authProvider, letting an unauthenticated client initialize a session and invoke tools that use the server-side DEEPSEEK_API_KEY (CVE-2026-55605, CVSS 5.3). Both fixed by 1.8.0.

How to fix

Upgrade @arikusi/deepseek-mcp-server to >= 1.8.0 and pin it. Bind session IDs to an authenticated principal / transport session, and configure an authProvider so POST /mcp is not reachable unauthenticated.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-DEEPSEEK-CVE-2026-55604-001

Limitations

Reads @arikusi/deepseek-mcp-server in requirements*.txt at any depth and, at the project root only, in pyproject.toml, Pipfile, package.json, .mcp.json, mcp.json, claude_desktop_config.json and the Pipfile.lock, poetry.lock, uv.lock, package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles, reporting a range that admits an affected version and a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (packages/app/package.json), in .cursor/mcp.json or .vscode/mcp.json, or in a lockfile format the reader does not parse (a Yarn 2+ yarn.lock). A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-DEEPSEEK-CVE-2026-55604-001.md: the page then shows that text, with the registry reference appended under it.