mcp-cve-project

CVE-2026-42559 | MCP Rust SDK (rmcp) | High | 8.8

CVE Information

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.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

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.

CVE is because of what bug?

Missing Host-header allowlist validation on Streamable HTTP server transport (origin/DNS rebinding class).

MCP-specific impact / why it matters

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.

Where was the bug? (source + snippet)