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

GHSA-j975-95f5-7wqh
HIGH 8.7OSV

At a glance

Source
OSV
Published
Updated
CVE
CVE-2025-53365
Aliases
PYSEC-2026-1618
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-53365

Description

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. Thank you to Rich Harang for reporting this issue.

References

Affected packages

PackageVersions
PyPI · mcpintroduced 0, fixed 1.10.0

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database