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

- Severity: High 7.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-27T14:50:33.286Z
- Modified: 2026-09-23T17:17:43.410Z
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- mark3labs mcp-go: before 0.56.0

## Every score

- VulnCheck: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/mark3labs/mcp-go> (product)
- <https://github.com/mark3labs/mcp-go/pull/921> (issue-tracking, patch)
- <https://github.com/mark3labs/mcp-go/releases/tag/v0.56.0> (release-notes)
- <https://www.vulncheck.com/advisories/mcp-go-before-0.56.0-missing-host-header-validation-enables-dns-rebinding> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-81092](https://www.cve.org/CVERecord?id=CVE-2026-81092), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-81092](https://nvd.nist.gov/vuln/detail/CVE-2026-81092), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-81092 · Whole record: https://cve.day/CVE-2026-81092.json · Rebuilt by cve.day 2026-11-25T22:59:35.497Z
