mcp-cve-project

CVE-2026-81092 | mcp-go (mark3labs/mcp-go) StreamableHTTP/SSE DNS rebinding | High | 7.6

CVE Information

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.

CVE Breakdown

What is the vulnerability?

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.

Attack prerequisites / exposure

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.

CVE is because of what bug?

Missing Host header validation on loopback-bound Streamable HTTP and SSE transports.

MCP-specific impact / why it matters

A malicious website can rebind DNS to reach a victim’s local mcp-go server and invoke exposed MCP tools or read resources.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

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.

Upstream fix (open source)

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

https://github.com/mark3labs/mcp-go/releases/tag/v0.56.0