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

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
  • github.com/modelcontextprotocol/rust-sdk/issues/815
  • github.com/modelcontextprotocol/rust-sdk/pull/764
  • github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-89vp-x53w-74fx
  • modelcontextprotocol.io/specification/2025-06-18/basic/transports
  • nvd.nist.gov/vuln/detail/CVE-2026-42559

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. Learn more about Dependency Scanning →

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 Sat, 09 May 2026 00:19:00 +0000.