What happened
Published 2026-12-02, CVSS 9.2 (CWE-306). From 0.25.0 to before 0.43.1 the bearer-token authentication middleware is not installed when the gateway runs in container mode, so the HTTP MCP endpoints are unauthenticated. Patched in 0.43.1.
Why it matters
MCP Gateway is Docker's tool for running and proxying MCP servers. An unauthenticated endpoint means anyone who can reach the gateway can drive every connected MCP tool — including file, shell and database tools — effectively handing an attacker the full agentic tool surface the gateway is meant to gate.
Attack vector
When the gateway runs as a container the bearer-token auth middleware is never installed, so the HTTP MCP endpoints are served with no authentication; any network-reachable caller can invoke every MCP tool the gateway proxies.
Affected systems
docker/mcp-gateway >= 0.25.0, < 0.43.1 (container mode)
Mitigation
Upgrade to mcp-gateway 0.43.1 (GHSA-g879-4j4f-6vj7, PR 508).