The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP).
CVE-2025-53366
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.9.4, 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. Version 1.9.4 contains a patch for the issue.
Part of the AI stack
This affects Model Context Protocol, in MCP & tool servers.
Assessment
- CVSS
- 8.7 (v4.0)
- Severity
- High
- EPSS
- 9.75% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 July 2025
- Last updated
- 16 July 2026
- Affected
- modelcontextprotocol · python-sdk · mcp
- Weakness
- CWE-248
- Assigner
- security-advisories@github.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a
- https://github.com/modelcontextprotocol/python-sdk/pull/822
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4
- https://nvd.nist.gov/vuln/detail/CVE-2025-53366
- https://github.com/advisories/GHSA-3qhf-m339-9g5v
- https://github.com/modelcontextprotocol/python-sdk
- https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml
- https://pypi.org/project/mcp
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2025-53366