Vulnerability RUSTSEC-2026-0189

High Risk
HIGH RISK
CVSS Score: 8.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
5 months ago
April 29, 2026 at 12:00 PM UTC
DNS rebinding vulnerability in rmcp Streamable HTTP server transport
0.1.0 - 0.17.0 and 1.0.0 - 1.3.0
0.1.0 - 0.17.0 and 1.0.0 - 1.3.0

Summary

DNS rebinding vulnerability in rmcp Streamable HTTP server transport

Details

Prior to version 1.4.0, the rmcp crate's Streamable HTTP server transport did not validate the incoming Host header.

This allowed a malicious public website, via a DNS rebinding attack, to send requests to an MCP server running on the victim's loopback or private-network interface.

An attacker who convinced a victim to visit a malicious page could enumerate and invoke tools exposed by a locally running rmcp-based MCP server, read resources and prompts, and trigger side effects limited by the tools exposed by that server.

Non-HTTP transports such as stdio and child-process transports are not affected.

Patches

The issue was fixed in rmcp 1.4.0 by adding default loopback-only host allowlist validation for the Streamable HTTP server transport. Incoming HTTP requests now validate the Host header and return HTTP 403 when the host is not allowed.

Users should upgrade to rmcp >= 1.4.0.

Workarounds

If upgrading is not possible, place the MCP server behind a reverse proxy configured to reject requests whose Host header is not one of the expected hostnames. Do not bind the MCP server to 0.0.0.0 without such validation.

Impacted packages

Timeline

Published
5 months ago
April 29, 2026 at 12:00 PM UTC
Fixed (1.4.0)
5 months ago
April 10, 2026 at 02:49 PM UTC
Last Modified
3 months ago
June 30, 2026 at 07:16 AM UTC