Modelcontextprotocol rust-sdk
RMCP: DNS rebinding vulnerability in rmcp Streamable HTTP server transport
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.4.0
Fixed in 1.4.0
Mitigation
Upgrade rust-sdk to 1.4.0 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 115 days after publication; not in CISA KEV. First PoC: joaovicdev/EXPLOIT-CVE-2026-42559 (created 6 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| joaovicdev/EXPLOIT-CVE-2026-42559 | 6 Sep 2026 +115 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://github.com/joaovicdev/EXPLOIT-CVE-2026-42559/blob/77bfc3623d51f5e5fd3b8e97cd7e2e8107a1d1cf/exploit/exploit.py | unknown | 14 Nov 2026 |