The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP).
CVE-2025-53365
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.10.0 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
- 0.42% 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/7b420656de48cfdb90b39eb582e60b6d55c2f891
- https://github.com/modelcontextprotocol/python-sdk/pull/967
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.10.0
- https://nvd.nist.gov/vuln/detail/CVE-2025-53365
- https://github.com/advisories/GHSA-j975-95f5-7wqh
- https://github.com/modelcontextprotocol/python-sdk
- https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1618.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-53365