CVE-2025-53365
The MCP Python SDK, called `mcp` on PyPI, is a Python …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891
- github.com/modelcontextprotocol/python-sdk/pull/967
- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.10.0
- nvd.nist.gov/vuln/detail/CVE-2025-53365
- github.com/advisories/GHSA-j975-95f5-7wqh
- github.com/modelcontextprotocol/python-sdk
- github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1618.yaml
- nvd.nist.gov/vuln/detail/CVE-2025-53365
- cve.org/CVERecord?id=CVE-2025-53365
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.