Skip to content
OpenAdvisories
High · 8.7 CVE-2025-53365 EUVD-2025-20094GHSA-j975-95f5-7wqhPYSEC-2026-1618

MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of Service

Published Jul 4, 2025 · Updated Jul 8, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
modelcontextprotocol python-sdk < 1.10.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mcp < 1.10.0 1.10.0 GHSA-j975-95f5-7wqh

References