Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mcp
  4. ›
  5. CVE-2025-53365

CVE-2025-53365: MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service

July 4, 2025 (updated July 16, 2026)

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

  • github.com/advisories/GHSA-j975-95f5-7wqh
  • github.com/modelcontextprotocol/python-sdk
  • github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891
  • github.com/modelcontextprotocol/python-sdk/pull/967
  • github.com/modelcontextprotocol/python-sdk/releases/tag/v1.10.0
  • github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh
  • github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1618.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-53365
  • pypi.org/project/mcp

Code Behaviors & Features

Detect and mitigate CVE-2025-53365 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.10.0

Fixed versions

  • 1.10.0

Solution

Upgrade to version 1.10.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

pypi/mcp/CVE-2025-53365.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:01 +0000.