Skip to content

CVE-2026-81092 mcp-go before 0.56.0 Missing Host Header Validation Enables DNS Rebinding

HighCVSS 7.6 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

Description

mcp-go accepted requests on its HTTP transports without checking the Host header. StreamableHTTPServer.ServeHTTP in server/streamable_http.go and SSEServer.ServeHTTP in server/sse.go served any request arriving over a loopback connection regardless of the host it named, and the SSE transport's cross-origin default allowed any origin. A page in a browser could therefore point a name it controlled at the loopback address and reach a server listening there, invoking tools and reading resources that the server exposed on the assumption that only local software could connect. No release before 0.56.0 validated the header on either transport; 0.56.0 adds server/http_localhost.go, which rejects a loopback-bound request carrying a host that is not a loopback name, and wires it into both transports.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhcl-tech-preview/mcp-gateway-rhel9(Red Hat connectivity_link 1) All versions No fix listed No fix yet
redhat/rhcl-tech-preview/mcp-gateway-rhel9-operator(Red Hat connectivity_link 1) All versions No fix listed No fix yet
redhat/rhoai/rhai-cli-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhosdt/tempo-query-rhel9(Red Hat openshift_distributed_tracing 3) All versions No fix listed No fix yet
redhat/rhosdt/tempo-rhel9(Red Hat openshift_distributed_tracing 3) All versions No fix listed No fix yet
mark3labs github.com/mark3labs/mcp-go < 0.56.0 0.56.0 Fixed
redhat/tempo2-10-main(Red Hat hummingbird 1) < 2.10.8-0.2.hum1 2.10.8-0.2.hum1 Fixed
redhat/tempo3-0-main(Red Hat hummingbird 1) < 3.0.3-0.1.hum1; < 3.0.3-0.2.hum1 3.0.3-0.1.hum1, 3.0.3-0.2.hum1 Fixed

Affected products

ProductAffected versionsFixed in
mark3labs github.com/mark3labs/mcp-go < 0.56.0 0.56.0
redhat/tempo3-0-main(Red Hat:hummingbird:1) < 3.0.3-0.1.hum1 3.0.3-0.1.hum1
redhat/tempo2-10-main(Red Hat:hummingbird:1) < 2.10.8-0.2.hum1 2.10.8-0.2.hum1
redhat/tempo3-0-main(Red Hat:hummingbird:1) < 3.0.3-0.2.hum1 3.0.3-0.2.hum1
redhat/rhcl-tech-preview/mcp-gateway-rhel9(Red Hat:connectivity_link:1) All versions No fix listed
redhat/rhcl-tech-preview/mcp-gateway-rhel9-operator(Red Hat:connectivity_link:1) All versions No fix listed
redhat/rhoai/rhai-cli-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhosdt/tempo-query-rhel9(Red Hat:openshift_distributed_tracing:3) All versions No fix listed
redhat/rhosdt/tempo-rhel9(Red Hat:openshift_distributed_tracing:3) All versions No fix listed

References