Skip to main content
VulnerabilityPublished

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

Affects modelcontextprotocol rust-sdkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High : upgrade to 1.4.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.4.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade rust-sdk and github/modelcontextprotocol/rust-sdk to 1.4.0.

Affected software

ProductAffectedFixed in
modelcontextprotocolrust-sdkAffected
  • <1.4.0
Fixed in
  • 1.4.0
crates.iogithub/modelcontextprotocol/rust-sdkpkg:cargo/github/modelcontextprotocol/rust-sdkOther threatsAffected
  • <1.4.0
Fixed in
  • 1.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade the modelcontextprotocol rust-sdk to version 1.4.0 or later, where the Host header validation issue is fixed. Since this is an open-source SDK and not a cloud service, users must apply this update themselves. Patch status is confirmed by the vendor stating the vulnerability is fixed in version 1.4.0. No additional mitigations are indicated by the vendor advisory.

Description

CVE-2026-42559 is a high-severity vulnerability in the modelcontextprotocol Rust SDK (rmcp crate) prior to version 1.4.0. The Streamable HTTP server transport did not validate the incoming Host header, enabling a DNS rebinding attack. This flaw could allow a malicious website to send authenticated requests to an MCP server running on a victim's loopback or private network interface. The vulnerability is fixed in version 1.4.0. No known exploits in the wild have been reported.

References

Community reviews

Loading reviews…