Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed rmcp Streamable HTTP endpoint
-
DeliverySend valid non-init JSON-RPC POST or mismatched-version init
-
ExploitSession created before validation, validation fails without cleanup
-
ExecutionOrphaned session retained; repeat to flood table
-
ImpactMemory exhaustion and lock contention terminate server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the server to run the rmcp crate's STATEFUL Streamable HTTP transport (StreamableHttpService with LocalSessionManager) on a network-reachable interface, in rust-sdk versions prior to 2.0.0. The attacker sends a well-formed JSON-RPC POST to handle_post that is EITHER not an initialization request OR an initialization request whose MCP-Protocol-Version header mismatches the body - both paths call create_session before validation and never remove the inserted LocalSessionHandle on the early failure. Limiting factors: only stateful deployments are affected (stateless configurations do not use this session table), impact is availability-only, and exploitation must be sustained/repeated to grow the table enough to exhaust memory (SSVC Automatable: no), so a single request is not immediately fatal. No authentication or user interaction is needed. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5 HIGH) is internally consistent with the description and credible: a remote, unauthenticated client can trigger the flaw with a single well-formed JSON-RPC POST, and impact is availability-only (no confidentiality or integrity loss), which matches CWE-400 (Uncontrolled Resource Consumption). SSVC tempers the urgency: Exploitation is only 'poc' (not active/in-the-wild), Automatable is 'no', and Technical Impact is 'partial' - indicating a degrade/exhaust-over-time DoS rather than an instant single-shot kill, so an attacker must sustain a flood of requests to grow the unbounded session table before memory exhaustion and server termination occur. There is no CISA KEV listing and no EPSS score provided, so there is no evidence of widespread automated exploitation. The reliable, low-complexity, no-auth trigger makes this a genuine availability concern for any exposed rmcp stateful Streamable HTTP endpoint, but the low real-world footprint of the affected library and the sustained-effort requirement keep it below the priority of a wormable or RCE-class flaw. Note the mild tension: SSVC marks 'poc' exploitation while no standalone weaponized exploit is referenced - the PR's regression test (post_non_initialize) effectively demonstrates the trigger, which likely justifies the 'poc' rating. |
| Exploit ScenarioDerived | An attacker who can reach an rmcp stateful Streamable HTTP server (rust-sdk < 2.0.0) repeatedly POSTs valid JSON-RPC messages that are either non-initialization requests (e.g. tools/list) or initialization requests with a mismatched MCP-Protocol-Version header. Each rejected request leaves an orphaned LocalSessionHandle in the shared session table, so a sustained stream of such requests grows memory and lock contention without bound until legitimate clients slow down and the server process is eventually terminated. No authentication, user interaction, or special exploit tooling is required; a simple HTTP flooding script suffices, and the fix's regression test demonstrates the exact trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Unbounded memory growth in the stateful Streamable HTTP transport of the rmcp Rust SDK (crates/rmcp, all versions prior to 2.0.0) lets remote, unauthenticated attackers permanently leak session state and eventually crash the server. A crafted JSON-RPC POST that is either not an initialization request, or an initialization request whose MCP-Protocol-Version header disagrees with its body, causes StreamableHttpService::handle_post to call LocalSessionManager.create_session before the message is validated; when validation then fails, the handler returns without removing the inserted LocalSessionHandle, so each request leaves a permanent entry in the shared session table. Because exploitation requires sustained repetition to exhaust memory and degrade legitimate clients through lock contention, CISA SSVC rates it PoC-exploitable but not automatable, while publicly available exploit code exists and CVSS 3.1 scores it 7.5 HIGH (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), with availability as the only impacted security property.
RemediationAI
Vendor-released patch: rmcp 2.0.0 - upgrade the crate dependency to 2.0.0 or later (crate release rmcp-v2.0.0, https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.0.0), or cherry-pick the upstream fix from commit dfa7fd6f9309deab60bea230b041be9a3fcda846 / PR https://github.com/modelcontextprotocol/rust-sdk/pull/934, which moves session creation after the message-shape and MCP-Protocol-Version header/body validation so rejected requests no longer insert session handles. If upgrading cannot be done immediately, the most effective compensating control is to switch the server from the stateful Streamable HTTP transport to a stateless configuration (no LocalSessionManager), which removes the affected code path entirely at the cost of losing cross-request session continuity and stream resumability. Where stateful mode is required, front the endpoint with a reverse proxy or API gateway that caps per-client request rate and concurrent connections and enforces a request-body/method allowlist rejecting non-initialize POSTs and mismatched protocol headers before they reach handle_post - trade-off: this is a partial mitigation that depends on proxy correctness and can be bypassed by clients that stay under the rate limit, since even a valid-looking request that later fails validation still leaks a handle. Additionally, monitor session-table size and process RSS to detect accumulation, and schedule periodic process restarts or bound memory with a container/cgroup limit (with the caveat that an OOM kill is itself the denial-of-service outcome, so restart cadence must be tuned below the exhaustion threshold). Note that adding authentication does not remediate this bug on its own, because the vulnerable path is reached by PR:N clients and the leak occurs before message validation. See the vendor advisory at https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9pj6-vhgr-3mwh for the authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The rmcp crate (published as modelcontextprotocol:rust-sdk, CPE cpe:2.3:a:modelcontextprotocol:rust-sdk) is the official Rust SDK for the Model Context Protocol. The flaw lives in crates/rmcp/src/transport/streamable_http_server/tower.rs, the tower-based HTTP layer that implements MCP's stateful Streamable HTTP transport on top of JSON-RPC 2.0. In that design, a client's first POST must be an initialize request whose MCP-Protocol-Version header matches the protocol_version field in the body; the server then binds a new session and returns a session id used by subsequent requests. The vulnerable ordering issued create_session() - which inserts a LocalSessionHandle into LocalSessionManager.sessions - before the code checked whether the message was actually an InitializeRequest and before it compared the protocol header to the body. Any message that failed those checks returned early through an error path (422/400 responses) without ever removing the handle it had just inserted, violating the ownership/lifetime invariant of the session table. This is CWE-400 (Uncontrolled Resource Consumption): a state-management defect rather than a memory-safety bug, producing an unbounded-growth resource leak (each orphaned handle retains session and channel state for the process lifetime) whose downstream effects are lock contention on the shared session structure, memory exhaustion, and process termination. The upstream fix reorders the logic: the PR/commit validates the message shape and the header/body protocol-version match, and stores init params and request extensions, all before create_session() is invoked, and the accompanying regression test asserts that rejected initial POSTs leave sessions.len() == 0. Note that only stateful deployments (StreamableHttpService backed by a LocalSessionManager) are affected - stateless configurations never touch this table - and authentication status does not mitigate the leak, since the vulnerable path is reached by unauthenticated clients (PR:N).
Know when Rust Sdk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated single-POST trigger against a network endpoint gives AV:N/AC:L/PR:N/UI:N; availability-only resource exhaustion yields A:H with C:N/I:N and no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
RMCP is an official Rust SDK for the Model Context Protocol. Prior to 2.0.0, the rmcp crate's stateful Streamable HTTP server in crates/rmcp/src/transport/streamable_http_server/tower.rs allows an unauthenticated client to send a well-formed JSON-RPC POST that is not an initialization request, or an initialization request with a mismatched protocol header, causing StreamableHttpService::handle_post to call LocalSessionManager.create_session before validating the message. An early validation failure returns without removing the inserted LocalSessionHandle from LocalSessionManager.sessions, permanently retaining session and channel state for the server process lifetime. Repeated requests can grow the shared session table without bound, degrade legitimate-client latency through lock contention, exhaust memory, and terminate the server. This issue is fixed in version 2.0.0.
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with CWE-401/CWE-772 as the underlying mechanism: a missing release of a resource after its effective lifetime.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The rmcp Rust SDK, the open-source MCP server transport library used by our agent-facing services, contains a session-handling flaw that allows any remote, unauthenticated caller to leak session state on every malformed request and eventually exhaust server memory and crash the service. Publicly available exploit code exists, but exploitation requires sustained repetition rather than a single request, so the practical exposure is degradation and outage of affected MCP endpoints - impacting customers and internal users who depend on those services - rather than compromise of data or core systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-80823
GHSA-9pj6-vhgr-3mwh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB