rmcp) | High | 8.8| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-42559 |
| EPSS score | 0.000060000 (FIRST EPSS, 2026-05-29) |
| Date (index) | 2026-05-14 |
| Affected product (index) | MCP Rust SDK (rmcp crate): Streamable HTTP server transport DNS rebinding |
| GHSA ID | GHSA-89vp-x53w-74fx |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-05-14 |
| Ecosystem | crates.io |
| Component | rmcp Streamable HTTP server transport |
| CVSS score | 8.8 (v3.1, GitHub CNA) |
| CWE | CWE-346 / CWE-350 |
| Affected versions | < 1.4.0 |
| Fixed versions | 1.4.0 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | stdio and child-process transports are not affected. |
RMCP (official Rust MCP SDK) prior to version 1.4.0 does not validate the incoming Host header on the Streamable HTTP server transport. A malicious public website can use DNS rebinding to send requests to an MCP server on the victim’s loopback or private-network interface and invoke tools as if from a local MCP client.
Victim runs an HTTP-based MCP server using vulnerable rmcp on localhost or a private interface, often without authentication. Victim browser visits attacker-controlled content while the server is reachable.
Missing Host-header allowlist validation on Streamable HTTP server transport (origin/DNS rebinding class).
Completes the cross-SDK DNS rebinding wave (TypeScript, Python, Go, Java, Rust). Local MCP tool servers intended for a single developer machine become remotely triggerable from the browser context.
8e22aa2)
validate_dns_rebinding_headers() rejects Host values outside allowed_hosts (default loopback allowlist).
Upgrade to rmcp 1.4.0 or later. For public bindings, configure an explicit allowed_hosts allowlist or terminate TLS at a reverse proxy that validates Host.
1.4.0+ as primary remediation.Host header checks if upgrade is delayed.0.0.0.0 without proxy-level host validation.No weaponized PoC is mirrored in this repository; see linked advisories for defensive analysis.
rmcp versions < 1.4.0.https://github.com/modelcontextprotocol/rust-sdk/pull/764