cve.bz

CVE-2026-42559 modelcontextprotocol rust-sdk: Origin Validation Error

8.8 highEPSS 0.3%Fix available

High (8.8) in modelcontextprotocol rust-sdk. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in rmcp 1.4.0.

On this page
RMCP is an official Rust SDK for the Model Context Protocol. 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. This vulnerability is fixed in 1.4.0.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-346 Origin Validation Error
CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • rmcp (crates.io): fixed in 1.4.0
  • dynoxide-rs (crates.io): fixed in 0.9.13
  • dynoxide (npm): fixed in 0.9.13

Ask an AI about this CVE

Show the promptExplain CVE-2026-42559 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42559?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42559?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42559 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
modelcontextprotocol rust-sdk< 1.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-89vp-x53w-74fxcrates.iormcp<1.4.01.4.0
GHSA-fvh2-gm75-j4j7crates.iodynoxide-rs>=0.9.3 <0.9.130.9.13
GHSA-fvh2-gm75-j4j7npmdynoxide>=0.9.3 <0.9.130.9.13
RUSTSEC-2026-0140crates.iodynoxide-rs>=0.9.3 <0.9.130.9.13
RUSTSEC-2026-0189crates.iormcp>=0.0.0-0 <1.4.01.4.0

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • joaovicdev/EXPLOIT-CVE-2026-42559 Harbor Check: matches CVE 0 stars, Python, created
    Docker lab + Python PoC for CVE-2026-42559 - DNS rebinding via unvalidated Host header in the rmcp (Rust MCP SDK) Streamable HTTP server tr…

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-89 Pharming Likelihood: High · Severity: Very High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-275 DNS Rebinding Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON