Advisory

GHSA-j975-95f5-7wqh

Also known as: CVE-2025-53365, PYSEC-2026-1618

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-04 22:06 UTC
Modified
2026-07-16 18:45 UTC

Affected packages and fixes

mcp

PyPI · All systems

Affected

  • introduced 0, fixed 1.10.0 (ecosystem)

Fixed versions

1.10.0

Fix

  • Fixed version 1.10.0
    pip install --upgrade mcp==1.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences