Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rmcp
  4. ›
  5. CVE-2026-42559

CVE-2026-42559: rmcp Streamable HTTP server transport has a DNS rebinding vulnerability

May 6, 2026 (updated May 19, 2026)

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 — violating the MCP specification’s transport security guidance.

References

  • github.com/advisories/GHSA-89vp-x53w-74fx
  • github.com/modelcontextprotocol/rust-sdk/commit/8e22aa2de28df5a285eed87c11cd89bf15fa90d3
  • github.com/modelcontextprotocol/rust-sdk/issues/815
  • github.com/modelcontextprotocol/rust-sdk/issues/822
  • github.com/modelcontextprotocol/rust-sdk/pull/764
  • github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-89vp-x53w-74fx
  • github.com/nubo-db/dynoxide/security/advisories/GHSA-fvh2-gm75-j4j7
  • modelcontextprotocol.io/specification/2025-06-18/basic/transports
  • nvd.nist.gov/vuln/detail/CVE-2026-42559
  • rustsec.org/advisories/RUSTSEC-2026-0140.html

Code Behaviors & Features

Detect and mitigate CVE-2026-42559 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

Source file

cargo/rmcp/CVE-2026-42559.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.