Skip to main content

rmcp Rust SDK CVE-2026-63128

| EUVDEUVD-2026-80823 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-16 GitHub_M GHSA-9pj6-vhgr-3mwh
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed rmcp Streamable HTTP endpoint
  2. Delivery
    Send valid non-init JSON-RPC POST or mismatched-version init
  3. Exploit
    Session created before validation, validation fails without cleanup
  4. Execution
    Orphaned session retained; repeat to flood table
  5. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

rust-sdk < 2.0.0

Affected Packages

cargo rmcp fix: 2.0.0
euvd rust_sdk fix: 2.0.0

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 16:04 EUVD
CVE Published
Sep 16, 2026 - 14:49 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
official Rust SDK for MCP; niche developer library, limited production deployment
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy