mcp-handler has a tool response leak across concurrent client sessions ('Race Condition')
GHSA-w2fm-25vw-vh7f · published 2026-04-01
- Severity
- High
- CVSS score
- 7.1
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 1.1.0
A low-privileged attacker making concurrent requests to an mcp-handler endpoint can read another client's session data, including authentication information and tool execution state. This is a confidentiality breach with potential for limited integrity impact. Root Cause: CVE-2026-25536 in @modelcontextprotocol/sdk < 1.26.0. The SDK did not prevent reuse of stateless transports across client connections.
Upgrade mcp-handler to 1.1.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Upgrade to [email protected]. This release raises the minimum peer dependency to @modelcontextprotocol/sdk@>=1.26.0, which contains the fix for CVE-2026-25536.
Upgrade @modelcontextprotocol/sdk to >=1.26.0 (note: the SDK will throw on transport reuse, which will break mcp-handler < 1.1.0 which effectively forces the upgrade) Alternatively, manually create fresh McpServer and transport instances per request in your handler code
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-handler | npm | < 1.1.0 | 1.1.0 |
7 registered MCP servers install an affected version today, by the dependency versions a fresh install resolves.
- io.github.meltingpixelsai/harvey-budgetmcp-handler@1.0.2
- io.github.meltingpixelsai/harvey-intelmcp-handler@1.0.2
- io.github.meltingpixelsai/harvey-verifymcp-handler@1.0.2
- io.github.meltingpixelsai/zero-core-budgetmcp-handler@1.0.2
- io.github.meltingpixelsai/zero-core-intelmcp-handler@1.0.2
- io.github.meltingpixelsai/zero-core-toolsmcp-handler@1.0.2
- io.github.meltingpixelsai/zero-core-verifymcp-handler@1.0.2
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.