CVE-2026-42559
modelcontextprotocol rust-sdk
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-42559 is a high-severity Origin Validation Error (CWE-346) vulnerability in modelcontextprotocol rust-sdk (named in the CVE record; NVD lists no product yet). Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the Protocol-Specific Risks risk domain.
The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and IA-3 (Device Identification and Authentication) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-30292
Vulnerability Data
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- AI Agent Protocols and Integrations
- Risk Domain
- Protocol-Specific Risks
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Matched keywords: mcp, model context protocol
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Information flow enforcement directly requires validating the source of data before allowing transmission or receipt.
Device identification and authentication mandates verifying the source before establishing connections.
Mandating data-origin authentication for name/address resolution stops reliance on unauthenticated reverse DNS responses.
Session authenticity mechanisms require validation that communications originate from the expected party.
Boundary protection at interfaces enforces checks on the origin of incoming communications.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Strong authentication of users/services/hardware directly prevents security decisions based on unauthenticated reverse DNS.
Monitoring DNS services can detect adverse events stemming from unverified reverse lookups.
Network protections reduce the feasibility of attackers exploiting unauthenticated reverse-DNS decisions.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's source reach (code review, static analysis) reliably detects the pattern of using reverse-DNS results for security decisions — calls to gethostbyaddr() feeding an auth check are a recognizable signature — and penetration testing can attempt DNS spoofing to expose the trust, so the programme finds most instances; the remainder is cases where the lookup is buried in complex logic or where the security decision is implicit and not flagged by automated tools.
Training of technical teams can raise awareness that reverse DNS is not a reliable authentication mechanism, preventing some instances where developers would otherwise rely on it for security decisions, but this is a specialized architectural topic that not all training programmes cover, leaving a substantial remainder.
Secure coding practices include implementing proper origin validation to prevent spoofing.
A.8.3 restricts access to information based on identity and permissions, but CWE-350 is a design flaw where the product makes a security decision based on a spoofable reverse DNS hostname, and no access control rule can stop that flawed logic from being exploited once it is in the code.
A.8.30 carries its preventive effect through contractual requirements for secure design, coding and testing practices (item b, referencing 8.25-8.29), which can reach a design-phase authentication flaw like CWE-350 if the contract specifies that reverse DNS must not be used for security decisions; the effect is partial because it depends on the supplier implementing those practices and on the specific design choice being named in the contract, mirroring the owner's `partial` grade on A.8.30 vs CWE-134.
A.8.5 governs the strength and method of authentication (passwords, MFA, biometrics, log-on procedures) but does not address whether the product relies on reverse DNS resolution for a security decision, so the weakness remains fully exploitable regardless of authentication strength.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-346, a class-level weakness, and none of its children carries one either.