When ran in sse or streaming mode (--transport), the Docker MCP Gateway is vulnerable to a DNS rebinding attack.
Vulnerability allows for Browser-Based exploitation of any MCP servers that are executing within the Docker MCP Gateway. Any tools or other features exposed by MCP servers can be manipulated by an attacker who is able to get a victim to visit a malicious website, or if a victim is served a malicious advertisement.
The MCP Gateway is not prone to this attack when started in its default stdio mode, which does not listen on any network ports.
Patch available in version v0.28.0
Do not start the MCP gateway in sse or streaming mode (use default stdio)
{
"github_reviewed": true,
"github_reviewed_at": "2025-12-03T16:07:31Z",
"nvd_published_at": "2025-12-03T18:15:46Z",
"severity": "HIGH",
"cwe_ids": [
"CWE-749"
]
}