Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

CVE-2026-42559: CWE-346: Origin Validation Error in modelcontextprotocol rust-sdk

0
High
VulnerabilityCVE-2026-42559cvecve-2026-42559cwe-346cwe-350
Published: 05/14/2026 (05/14/2026, 14:24:56 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: rust-sdk

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

crates.iomore threats →ai
github/modelcontextprotocol/rust-sdk
pkg:cargo/github/modelcontextprotocol/rust-sdk
Affected versions
<1.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 15:45:23 UTC

Technical Analysis

The vulnerability arises from the rmcp crate's Streamable HTTP server transport not validating the Host header in incoming requests before version 1.4.0. This lack of origin validation (CWE-346) allows an attacker to perform a DNS rebinding attack, whereby a malicious public website can send authenticated requests to an MCP server on the victim's local or private network interfaces. The issue affects all versions prior to 1.4.0 of the rust-sdk. The CVSS 3.1 base score is 8.8, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability. The vulnerability is addressed by updating to version 1.4.0.

Potential Impact

Successful exploitation allows an attacker controlling a malicious website to bypass origin checks and send authenticated requests to an MCP server running on the victim's loopback or private network interface. This can lead to full compromise of confidentiality, integrity, and availability of the MCP server. The vulnerability has a high CVSS score of 8.8, indicating severe potential impact. No known exploits in the wild have been reported to date.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-28T16:56:50.192Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a05e885ec166c07b0eee255

Added to database: 05/14/2026, 15:21:41 UTC

Last enriched: 05/21/2026, 15:45:23 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses