rmcp Streamable HTTP server transport has a DNS rebinding vulnerability
CVE-2026-42559 · GHSA-89vp-x53w-74fx · published 2026-05-06 · updated 2026-05-19
- Severity
- High
- CVSS score
- 8.8
- Chance of exploitation (EPSS)
- 0.27%
- Fixed in
- 1.4.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
An attacker who convinces a victim to visit a malicious page can: Enumerate and invoke any tool exposed by a locally-running rmcp-based MCP server. Read resources, prompts, and any state accessible via the MCP session. Trigger side effects (file writes, shell execution, API calls, etc.) limited only by what tools the victim's server exposes. Because MCP servers frequently run with the user's privileges and expose developer tooling (filesystems, shells, browser control, language servers, etc.), the practical impact can extend to arbitrary code execution on the victim's machine.
Upgrade rmcp to 1.4.0 or later.
rmcp >= 1.4.0 (current: 1.5.1).
Upgrade to rmcp >= 1.4.0. If upgrade is not possible, place the MCP server behind a reverse proxy (e.g. nginx, Caddy) configured to reject requests whose Host header is not one of your expected hostnames. Do not bind the MCP server to 0.0.0.0 without such a proxy.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| rmcp | crates.io | < 1.4.0 | 1.4.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- HighRMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discoveryrmcp
- HighRMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-servicermcp
- Mediumrmcp OAuth client fetches server-controlled resource_metadata URLsrmcp
- MediumRMCP: Custom HTTP headers leak to cross-origin redirect targetsrmcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.