—
PYSEC-2026-1616
MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v [WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-53366 [ADVISORY]
- https://github.com/modelcontextprotocol/python-sdk/pull/822 [WEB]
- https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a [WEB]
- https://github.com/modelcontextprotocol/python-sdk [PACKAGE]
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4 [WEB]
- https://pypi.org/project/mcp [PACKAGE]
- https://github.com/advisories/GHSA-3qhf-m339-9g5v [ADVISORY]