MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
CVE-2025-53366 · GHSA-3qhf-m339-9g5v · published 2025-07-04 · updated 2026-07-16
- Severity
- High
- CVSS score
- 8.7
- Chance of exploitation (EPSS)
- 9.8%
- Fixed in
- 1.9.4
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
A validation error in the MCP SDK can cause an unhandled exception when processing malformed requests, resulting in service unavailability (500 errors) until manually restarted. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures.
Upgrade mcp to 1.9.4 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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp | PyPI | < 1.9.4 | 1.9.4 |
3 registered MCP servers install an affected version today, by the dependency versions a fresh install resolves.
- io.github.AdonaiVera/fiftyone-mcp-servermcp@0.9.1
- io.github.cr7258/elasticsearch-mcp-servermcp@1.9.2
- io.github.thomasxm/crowdsentinel-mcp-servermcp@1.9.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
- HighModel Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP servermcp, mcp
- HighHTTP server transports and OAuth endpoints read request bodies with no size limitmcp, mcp
- HighMCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasksmcp
- HighMCP Python SDK: HTTP transports serve session requests without verifying the authenticated principalmcp
- HighMCP Python SDK: WebSocket server transport does not support Host/Origin validationmcp
- HighModel Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by defaultmcp
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.