cve.bz

CVE-2026-59951 modelcontextprotocol python-sdk: Uncontrolled Resource Consumption

6.9 mediumEPSS 0.5%Fix available

Medium (6.9) in modelcontextprotocol python-sdk. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in mcp 1.30.0, 2.2.0.

On this page
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). From 1.8.0 until 1.30.0 and 2.2.0, stateful Streamable HTTP servers, including FastMCP, MCPServer, Server.streamable_http_app(), and StreamableHTTPSessionManager, retain session entries without an idle expiration or aggregate session-count limit. DELETE, refused opening requests, and completed sessions do not reliably discard their entries, and each entry can retain parsed initialize parameters. A client that can reach the endpoint can therefore create ordinary short requests that grow server memory without bound until restart. Stateless HTTP, stdio, and SSE transports are not affected. This issue is fixed in versions 1.30.0 and 2.2.0.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-772 Missing Release of Resource after Effective Lifetime
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59951 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59951?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59951?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59951 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
modelcontextprotocol python-sdk>= 1.8.0, < 1.30.0
modelcontextprotocol python-sdk>= 2.0.0, < 2.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-84m7-p3x7-pcfvPyPImcp>=1.8.0 <1.30.01.30.0
GHSA-84m7-p3x7-pcfvPyPImcp>=2.0.0 <2.2.02.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedheadroom0.42.0-1.1openSUSE-SU-2026:12484-1
openSUSETumbleweedpython-mcp1.30.0-1.1openSUSE-SU-2026:12475-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security rates this vulnerability as Important because unauthenticated remote attackers can exhaust host memory and cause an application-level denial of service without requiring user interaction or specialized privileges. Within Red Hat AI, Lightspeed, and automation offerings that incorporate Model Context Protocol (MCP) services, exposure occurs when servers are configured to listen on network-accessible, stateful Streamable HTTP endpoints. Deployments operating with stateless HTTP configurations, standard I/O (stdio), or Server-Sent Events (SSE) transports are not vulnerable to this session buildup.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1793444554Fixed 2026-11-03RHSA-2026:94702
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1793444456Fixed 2026-11-03RHSA-2026:94709
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1793444409Fixed 2026-11-03RHSA-2026:94717
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1793444510Fixed 2026-11-03RHSA-2026:94721
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1793444600Fixed 2026-11-03RHSA-2026:94738
Red Hat OpenShift AI 3.4rhoai/odh-kserve-router-rhel9:1792688864Fixed 2026-10-29RHSA-2026:92510
Red Hat Satellite 6.18satellite/foreman-mcp-server-rhel9:1793272276Fixed 2026-10-29RHSA-2026:92667
Red Hat Satellite 6.19satellite/foreman-mcp-server-rhel9:1793272279Fixed 2026-10-29RHSA-2026:92666
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Affected
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Not affected
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59951.

Attack patterns (CAPEC)

  • CAPEC-469 HTTP DoS Severity: Low
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON