MCP SDKsGHSA-3qhf-m339-9g5v
MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
HighCVE-2025-53366 · Published Jul 4, 2025 · updated Jul 16, 2026
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. Thank you to Rich Harang for reporting this issue.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| mcp PyPI | < 1.9.4 | 1.9.4 |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-248
- Also known as
- CVE-2025-53366, PYSEC-2026-1616
- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v
- nvd.nist.gov/vuln/detail/CVE-2025-53366
- github.com/modelcontextprotocol/python-sdk/pull/822
- github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a
- github.com/advisories/GHSA-3qhf-m339-9g5v
- github.com/modelcontextprotocol/python-sdk
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4
- github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml
- pypi.org/project/mcp
More MCP SDKs advisories
All MCP SDKs| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 16 | MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks | High7.6 | 1.27.2 |
| Feb 4 | @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse | High7.1 | 1.26.0 |
| Jan 5 | Anthropic's MCP TypeScript SDK has a ReDoS vulnerability | High | 1.25.2 |
| Dec 22025 | Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default | High | 1.23.0 |
| Dec 22025 | Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default | High | 1.24.0 |
| Jul 42025 | MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service | High | 1.10.0 |