Vulnerability
CVE-2026-42559
RMCP is an official Rust SDK for the Model Context Protocol. Prior to version 1.4.0, the rmcp crate's Streamable HTTP server transport (crates/rmcp/src/transport/streamable_http_server/) did not validate the incoming Host header. This allowed a malicious public website, via a DNS rebinding attack, to send authenticated requests to an MCP server running on the victim's loopback or private-network interface. This vulnerability is fixed in 1.4.0.
12 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-35f8-mm23-892v
- CGA-3crm-cpx5-v3gw
- CGA-6f42-q7f7-vf4h
- CGA-chgm-mcg4-9p6h
- CGA-j6q7-5946-34vw
- CGA-p93p-3fhf-3vg6
- CGA-q4ff-gx4x-pp6v
- CGA-xh54-jc86-hw7h
-
GHSA-89vp-x53w-74fx
rmcp Streamable HTTP server transport has a DNS rebinding vulnerability
-
GHSA-fvh2-gm75-j4j7
dynoxide: DNS rebinding and cross-origin CSRF via MCP HTTP transport
-
RUSTSEC-2026-0140
DNS rebinding and cross-origin CSRF in dynoxide's MCP HTTP transport
-
RUSTSEC-2026-0189
DNS rebinding vulnerability in rmcp Streamable HTTP server transport
References
- https://github.com/modelcontextprotocol/rust-sdk/commit/8e22aa2de28df5a285eed87c11cd89bf15fa90d3
- https://github.com/modelcontextprotocol/rust-sdk/issues/815
- https://github.com/modelcontextprotocol/rust-sdk/issues/822
- https://github.com/modelcontextprotocol/rust-sdk/pull/764
- https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-89vp-x53w-74fx