CVE-2026-64684: RMCP: Custom HTTP headers leak to cross-origin redirect targets
Vulnerability summary
CVE-2026-64684 is a medium (CVSS 6.8) vulnerability in modelcontextprotocol rust-sdk. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.7% of scored vulnerabilities.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 16-09-2026PublishedVulnerability first disclosed.
- 19-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
Decrease -0.10 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- sglang-cuda-13.0All versions (No fix recorded)
Crates.Io1 product
- rmcp< 2.1.0
Modelcontextprotocol1 product
- rust-sdk< 2.1.0
3 vendors · 3 products
References
7 links- github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9g45-5xwm-f3wcX Refsource CONFIRMWEBAdvisory
- github.com/modelcontextprotocol/rust-sdk/commit/496902b9cf2c8a947454718da31829ae776b969bX Refsource MISCWEBFIX