CVE-2026-81092

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductMark3labs Mcp-go
PublishedAug 27, 2026
First seenAug 27, 2026
Weakness typeCWE-346CWE-346

How to fix

Update
  • mark3labs mcp-go0.56.0 or later

Affected products

ProductAffected versionsFixed in
mark3labs mcp-gov < 0.56.00.56.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.