CVE-2026-42559: CWE-346: Origin Validation Error in modelcontextprotocol rust-sdk
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.
AI Analysis
Technical Summary
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.
CVE-2026-42559: CWE-346: Origin Validation Error in modelcontextprotocol 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
Affected software
pkg:cargo/github/modelcontextprotocol/rust-sdkRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.