Security Resilience

CVE-2026-42559

modelcontextprotocol rust-sdk

Published
14 May 2026
Modified
26 October 2026
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0024 9th percentile
Risk Priority 63 floored blend · peak EPSS

CVSS 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

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

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-61546Shared CWE-346, CWE-350
CVE-2026-76807Shared CWE-346, CWE-350
CVE-2026-77329Shared CWE-346, CWE-350
CVE-2025-59163Shared CWE-350
CVE-2026-77283Shared CWE-350
CVE-2026-77359Shared CWE-350
CVE-2026-46611Shared CWE-346, CWE-350
CVE-2026-61568Shared CWE-350
CVE-2023-52235Shared CWE-350
CVE-2026-56709Shared CWE-350

Affected Assets

modelcontextprotocol
rust-sdk
named in the CVE record; NVD lists no product yet

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.

PR.AA-03 mostly match
blocks

Strong authentication of users/services/hardware directly prevents security decisions based on unauthenticated reverse DNS.

DE.CM-01 partial match
blocks

Monitoring DNS services can detect adverse events stemming from unverified reverse lookups.

PR.IR-01 partial match
blocks

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.

finds

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.

prevents

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.

prevents

Secure coding practices include implementing proper origin validation to prevent spoofing.

blocks

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.

prevents

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.

blocks

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.

References