@arikusi/deepseek-mcp-server Missing Authentication on Self-Hosted HTTP MCP Endpoint
Description
DeepSeek MCP Server is an MCP server for DeepSeek V4. Starting in version 1.4.2 and prior to version 1.8.0, the self-hosted HTTP transport of @arikusi/deepseek-mcp-server exposes POST /mcp without any authentication: createMcpExpressApp is called without an authProvider and no middleware guards the route, so any network-reachable client can issue an unauthenticated initialize request and obtain a valid MCP session identifier. In reproduced testing against commit 5e1302171e99, an unauthenticated client was able to initialize a session, enumerate tools, and invoke the local deepseek_sessions tool with no credentials. The same unauthenticated session also exposes deepseek_chat, whose handler uses the server-side DEEPSEEK_API_KEY when self-hosted deployments configure one. This issue applies to self-hosted HTTP mode, not the separately documented hosted BYOK endpoint in README.md, which expects an Authorization: Bearer ... header. Upstream self-hosted container assets enable HTTP mode by default (Dockerfile) and publish port 3000 (docker-compose.yml). Version 1.8.0 contains a patch for this issue.
Affected products
1- Range: 1.4.2 - 1.8.0
Patches
Vulnerability mechanics
References
3- github.com/arikusi/deepseek-mcp-server/blob/main/CHANGELOG.mdmitrex_refsource_MISC
- github.com/arikusi/deepseek-mcp-server/releases/tag/v1.8.0mitrex_refsource_MISC
- github.com/arikusi/deepseek-mcp-server/security/advisories/GHSA-72f3-6w86-7rv3mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.