Browse / MCP and Tool Server Flaws / CVE-2025-53366
MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
- Class
- MCP and Tool Server Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- mcp (PyPI)
- CVSS
- 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
- EPSS
- 9.8% chance of exploitation in 30 days
How it works, in short
A validation error on malformed requests in the MCP Python SDK is unhandled, so the FastMCP server returns errors until it is restarted. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v
- https://nvd.nist.gov/vuln/detail/CVE-2025-53366
- https://github.com/modelcontextprotocol/python-sdk/pull/822
- https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a
- https://github.com/advisories/GHSA-3qhf-m339-9g5v
- https://github.com/modelcontextprotocol/python-sdk
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4
- https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml
- https://pypi.org/project/mcp
Source: GitHub Advisory Database, used under CC BY 4.0.