MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
At a glance
- Source
- OSV
- Published
- Updated
- CVE
- CVE-2025-53366
- Aliases
- GHSA-3qhf-m339-9g5v
- CVSS_V4
- 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
- CVE severity
- HIGH 8.7 · CVE-2025-53366
Description
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 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
Affected packages
| Package | Versions |
|---|---|
| PyPI · mcp | introduced 0, fixed 1.9.4 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |