CVE-2026-64684: modelcontextprotocol rust-sdk · Information Exposure
Affects modelcontextprotocol rust-sdkSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium : upgrade to 2.1.0 when convenient.
Data as of 31 Oct 2026, 08:20 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade rust-sdk and rmcp to 2.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| modelcontextprotocolrust-sdk | Affected
| Fixed in
|
crates.iormcppkg:cargo/rmcpOther threats | Affected
| Fixed in
|
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 (rmcp crate) to version 2.1.0 or later, where this issue is fixed. The fix ensures that custom headers containing sensitive information are not replayed on cross-origin redirects. No additional mitigation steps are required if the upgrade is applied.
Description
RMCP is an official Rust SDK for the Model Context Protocol. Prior to 2.1.0, the rmcp crate's StreamableHttpClientTransport in crates/rmcp/src/transport/common/reqwest/streamable_http_client.rs builds its default_http_client with reqwest's automatic redirect policy and applies caller-supplied values from StreamableHttpClientTransportConfig.custom_headers without marking them as sensitive. When a malicious or compromised MCP endpoint returns a cross-origin 307 or 308 redirect, reqwest follows the redirect and apply_custom_headers causes custom API keys or authentication tokens to be replayed to the new origin, where an attacker can capture and reuse them. The separate auth_header path is not affected because it uses the standard Authorization header, which reqwest strips on cross-origin redirects. This issue is fixed in version 2.1.0.
References
- github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9g45-5xwm-f3wc (opens in a new tab)
- github.com/modelcontextprotocol/rust-sdk/pull/936 (opens in a new tab)
- github.com/modelcontextprotocol/rust-sdk/commit/496902b9cf2c8a947454718da31829ae776b969b (opens in a new tab)
- github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.1.0 (opens in a new tab)