mark3labs/mcp-go) StreamableHTTP/SSE DNS rebinding | High | 7.6| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-81092 |
| Date (index) | 2026-08-27 |
| Affected product (index) | mcp-go (mark3labs/mcp-go): StreamableHTTPServer / SSEServer Host header DNS rebinding |
| GHSA ID | GHSA-8g5x-gj7x-mxgm |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-08-27 |
| Ecosystem | Go |
| Component | mark3labs/mcp-go |
| EPSS score | 0.002230000 (FIRST EPSS, 2026-09-26) |
| CVSS score | 7.6 (v4) |
| CWE | CWE-346 |
| Affected versions | < 0.56.0 |
| Fixed versions | 0.56.0 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Added during 2026-09-07 gap review against NVD/GitHub Advisory MCP searches. |
mcp-go accepted HTTP transport requests over loopback without validating the Host header on StreamableHTTPServer.ServeHTTP and SSEServer.ServeHTTP, enabling browser-driven DNS rebinding against local MCP servers.
Exposure depends on deployment: network-reachable MCP transports, enabled MCP features, local listeners without authentication, or trusted workspace/project MCP configuration treated as safe input.
Missing Host header validation on loopback-bound Streamable HTTP and SSE transports.
A malicious website can rebind DNS to reach a victim’s local mcp-go server and invoke exposed MCP tools or read resources.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.
Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, disable MCP features when not required, and treat project/workspace MCP configuration as untrusted input.
Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
https://github.com/mark3labs/mcp-go/releases/tag/v0.56.0