๐Ÿ” CVE Alert

CVE-2026-81092

MEDIUM 6.8

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

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-346
Vendor mark3labs
Product mcp-go
Published Aug 27, 2026
Stay Ahead of the Next One

Get instant alerts for mark3labs mcp-go

Be the first to know when new medium vulnerabilities affecting mark3labs mcp-go are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

mark3labs / mcp-go
0 < 0.56.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mark3labs/mcp-go github.com: https://github.com/mark3labs/mcp-go/pull/921 github.com: https://github.com/mark3labs/mcp-go/releases/tag/v0.56.0 vulncheck.com: https://www.vulncheck.com/advisories/mcp-go-before-0.56.0-missing-host-header-validation-enables-dns-rebinding

Credits

Avishai Gonen (Pluto Security)