Vulnerability  ·  2026-09-18

RMCP Rust SDK — SSRF-adjacent header leakage via unmarked sensitive headers on cross-origin redirect

VulnerabilityMedium impactGlobalCVE-2026-64684
NVD published this CVSS 6.8 Medium vulnerability on Sept 16, 2026 in the same rmcp SDK affected by CVE-2026-63127.
A second distinct credential-exposure flaw in the same widely-embedded MCP Rust SDK within days of the OAuth token-impersonation bug underscores that MCP client transport security hardening is still immature across the ecosystem's reference implementations.
StreamableHttpClientTransport builds its HTTP client with reqwest's automatic redirect-following enabled and applies caller-supplied custom headers without marking them sensitive; when a malicious or compromised MCP endpoint issues a cross-origin 307/308 redirect, reqwest forwards those headers (potentially including auth tokens) to the redirect target.
rmcp (Rust MCP SDK) < 2.1.0
Upgrade rmcp to >= 2.1.0; mark authorization-bearing custom headers as sensitive so they are stripped on cross-origin redirects, or disable automatic redirect following for MCP transport clients.
GitHub commit fix
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →