Red Hat VEX
RHVEX-CVE-2026-64684
rmcp: RMCP: Sensitive HTTP headers leaked during cross-origin redirects
Details
A flaw was found in the rmcp component. This vulnerability allows a remote attacker to disclose sensitive information. When the rmcp crate's HTTP client processes a redirect to a different web address (cross-origin redirect) from a malicious or compromised Model Context Protocol (MCP) endpoint, it can inadvertently replay custom HTTP headers, such as API keys or authentication tokens, to the new, untrusted destination. This enables an attacker to capture and potentially reuse these sensitive credentials.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | goose | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | goose | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-64684
- https://bugzilla.redhat.com/show_bug.cgi?id=2535732
- https://www.cve.org/CVERecord?id=CVE-2026-64684
- https://nvd.nist.gov/vuln/detail/CVE-2026-64684
- https://github.com/modelcontextprotocol/rust-sdk/commit/496902b9cf2c8a947454718da31829ae776b969b
- https://github.com/modelcontextprotocol/rust-sdk/pull/936
- https://github.com/modelcontextprotocol/rust-sdk/releases/tag/rmcp-v2.1.0
- https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-9g45-5xwm-f3wc