Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| modelcontextprotocol | rust-sdk | < 2.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | goose | 1.45.0-1.el10_2 | RHSA-2026:80765 |
| RHEL 9 | goose | 1.45.0-1.el9_8 | RHSA-2026:80764 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openai-codex | 0.155.1-1.1 | openSUSE-SU-2026:11849-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | rmcp | < 2.0.0 | 2.0.0 | GHSA-9pj6-vhgr-3mwh |
Advisories 4
- WID-SEC-2026-3883 Red Hat Enterprise Linux (goose, environment-modules, tornado): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- RHSA-2026:80764 Red Hat Security Advisory: goose security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:80765 Red Hat Security Advisory: goose security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- openSUSE-SU-2026:11849-1 openai-codex-0.155.1-1.1 on GA media SUSE / openSUSE Security Updates · Sep 23, 2026
References
- https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9pj6-vhgr-3mwh
- https://github.com/modelcontextprotocol/rust-sdk/pull/934
- https://github.com/modelcontextprotocol/rust-sdk/commit/dfa7fd6f9309deab60bea230b041be9a3fcda846
- https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.0.0