CVE-2025-53365
Model Context Protocol vulnerability analysis and mitigation

Overview

The MCP Python SDK (mcp on PyPI), a Python implementation of the Model Context Protocol (MCP), contains a vulnerability identified as CVE-2025-53365. The vulnerability was discovered in versions prior to 1.10.0, where an uncaught exception condition could lead to server crashes. The issue was disclosed on July 4, 2025, and affects systems running the MCP Python SDK server component (GitHub Advisory, NVD).

Technical details

The vulnerability stems from an uncaught ClosedResourceError that occurs when a client deliberately triggers an exception after establishing a streamable HTTP session. The issue has been assigned a CVSS v4.0 base score of 8.7 (HIGH) with the vector string 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. The vulnerability is classified under CWE-248 (Uncaught Exception) (GitHub Advisory, Red Hat).

Impact

When exploited, the vulnerability causes the server to crash, requiring a restart to restore service. The impact severity may vary depending on deployment conditions and the presence of infrastructure-level resilience measures. The vulnerability specifically affects the availability of the system without compromising confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.10.0 of the MCP Python SDK. Users are advised to upgrade to this version or later to address the security issue. The fix includes proper exception handling for the ClosedResourceError condition (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management