8.8High

CVE-2026-42559RMCP: DNS rebinding vulnerability in rmcp Streamable HTTP server transport

modelcontextprotocol rust-sdk Published: (6 months ago)

Description

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.

Weakness (CWE): CWE-346CWE-350

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
modelcontextprotocol rust-sdk < 1.4.0

References and patches