# CVE-2026-64684: RMCP: Custom HTTP headers leak to cross-origin redirect targets

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-09-16T21:18:48.886Z
- Modified: 2026-09-23T18:12:04.247Z
- Also known as: GHSA-9g45-5xwm-f3wc
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol rust-sdk: < 2.1.0
- rmcp (crates.io): before 2.1.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9g45-5xwm-f3wc> (web)
- <https://github.com/modelcontextprotocol/rust-sdk/pull/936> (web)
- <https://github.com/modelcontextprotocol/rust-sdk/commit/496902b9cf2c8a947454718da31829ae776b969b> (web)
- <https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.1.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64684> (advisory)
- <https://github.com/modelcontextprotocol/rust-sdk> (package)

## Sources

- CVE List: [CVE-2026-64684](https://www.cve.org/CVERecord?id=CVE-2026-64684), CVE Terms of Use, modified 2026-09-19
- GitHub Advisory Database: [GHSA-9g45-5xwm-f3wc](https://github.com/advisories/GHSA-9g45-5xwm-f3wc), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-64684](https://nvd.nist.gov/vuln/detail/CVE-2026-64684), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-64684 · Whole record: https://cve.day/CVE-2026-64684.json · Rebuilt by cve.day 2026-11-25T22:59:39.176Z
