Vulnerability in Mark3labs Mcp-Go
CVE-2026-81092
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.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (product)
- disclosure@vulncheck.com (issue-tracking)
- disclosure@vulncheck.com (release-notes)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-81092?
- CVE-2026-81092 is a medium-severity vulnerability in Mark3labs Mcp-Go, classified under Origin Validation Error. CVSS score: 6.8/10. Published 2026-08-27.
- How severe is CVE-2026-81092?
- Medium severity. CVSS v3 base score is 6.8 out of 10.