Docker’s MCP Gateway, the component behind the MCP Toolkit in Docker Desktop, served every connected AI tool without any login when it ran inside a container. According to Docker’s GitHub security advisory GHSA-g879-4j4f-6vj7, tracked as CVE-2026-76092 with a CVSS 4.0 score of 9.2, the bearer token check was simply never switched on in container mode, from version 0.25.0 up to 0.43.1. A second critical flaw, CVE-2026-76099 (CVSS 9.0), let a caller turn the gateway’s own management tools into root access on the host machine. Both are fixed in 0.43.1, along with three lesser bugs.
The fix itself is not new. Version 0.43.1 appeared on GitHub on 25 June 2026 and the advisories followed on 9 July, but the CVE entries only reached the US National Vulnerability Database on 2 December. Anyone who relies on CVE feeds to decide what to patch is hearing about this for the first time now, which is why we think it deserves a second look even though Docker Desktop users on current releases are already covered.
An open door for anyone on the network
The gateway sits between an AI client such as Claude Desktop, Cursor or an agent framework and the MCP servers it calls: GitHub, Slack, databases, browsers. In container mode the gateway listened on all network interfaces and the only remaining guard was an origin check that waved through requests without an Origin header. A script or SDK client simply leaves that header out. Docker’s own impact statement is blunt: any host that can reach the published port, including a neighbour on the LAN or another container on the same Docker network, gets full use of every proxied tool, “including tools that act with the user’s stored secrets and OAuth tokens.”
In practice that means a stranger could ask your GitHub MCP server to read private repositories or your Slack server to post messages, with your credentials, without ever touching your laptop.
From config field to root shell
The second flaw, described in advisory GHSA-mqq5-qh4g-2g8g, affects versions from 0.9.3. The dynamic management tools mcp-add and mcp-config-set had no authorization check, and the values passed to them were only checked against a schema, not for what they contained. Those values were later expanded into docker -v bind mounts with no list of allowed host paths, so a value such as the Docker socket would be mounted into a freshly spawned container. With the gateway’s own Docker access, that ends in code execution as root on the host.
There are two conditions: the gateway must run with --dynamic-tools, which is off by default, and it must have access to the Docker API, for example through a mounted /var/run/docker.sock. Combined with the first bug, though, “low privileges” could mean nothing more than network reach.
The three smaller fixes in the same release
- CVE-2026-76094 (CVSS 7.7): image signature checks for MCP servers were off by default since 0.4.1, and even when enabled they only covered images whose name starts with
mcp/. Anything else was pulled and run unchecked. - CVE-2026-76095 (CVSS 6.8): since 0.35.0 a server reference starting with
file://could point at any absolute path on the host. - CVE-2026-76097 (CVSS 5.7): when several backend servers were combined, tool names shared one flat namespace, so one server could quietly replace another server’s tool of the same name.
Who needs to act
Docker Desktop bundles the gateway as the docker mcp CLI plugin. Docker’s release notes show Desktop 4.77.0 from 8 June 2026 shipping gateway 0.42.2, which is vulnerable, and Desktop 4.96.3 from 22 October listing version 0.44.2, which is fixed. The notes for the releases in between do not name a gateway version, so treat anything older than 4.96.3 as suspect. The most exposed group is everyone who runs the gateway image on its own, on a server, in Compose stacks or in CI, with an SSE or streaming port published.
- Check your version: run
docker infoand look for themcpplugin line under Client plugins; anything below 0.43.1 is affected. For standalone setups check the tag of thedocker/mcp-gatewayimage you run. - Update: move Docker Desktop to the current release, or pull a gateway image at 0.43.1 or later and restart the container.
- Set a token: 0.43.1 requires bearer auth on HTTP transports by default. Provide it with
MCP_GATEWAY_AUTH_TOKENand update your clients to send it. Do not reach for--allow-unauthenticatedto make old clients work. - Close the port: bind the gateway to
127.0.0.1or a trusted network, or put it behind an authenticating reverse proxy, which is also Docker’s workaround for anyone who cannot update today. - Drop extra powers: run without
--dynamic-toolsunless you need it, and do not hand the gateway the Docker socket when you do. - Expect breakage: the release now rejects custom catalogs outside
~/.docker/mcp/catalogsand writable or sensitive host bind mounts. Move catalog files there and allow extra read only paths withMCP_GATEWAY_DOCKER_BIND_ALLOWED_PATHS, as the 0.43.1 release notes explain. - If the port was ever reachable: rotate the OAuth tokens and API keys stored for your MCP servers (GitHub, Slack, cloud accounts) and review their audit logs for activity you do not recognise.
Docker has not said that either flaw was exploited, and we found no public reports of attacks. Weak access checks in MCP software are a recurring theme, as the recent DBHub MCP server zero-day showed; more cases are on our MCP security tracker.
One step further: a fix five months older than its CVE
Why is a June patch news in December? By our count, 160 days passed between the 0.43.1 release and the NVD entry for CVE-2026-76092, and 146 days between the published advisory and that entry. Vulnerability scanners and patch dashboards that key on CVE IDs could not flag the problem during that window, so teams that pinned an older gateway image in a Compose file or a CI job had no automated warning. The gateway image is not a niche download either: docker/mcp-gateway had 1,317,910 pulls on Docker Hub when we checked on 2 December 2026, and the Docker Desktop release notes show the plugin shipping inside the desktop app for months.
Unauthenticated MCP endpoints are also a known pattern rather than a one off. In 2025 Knostic counted 1,862 MCP servers reachable from the internet and manually checked 119 of them; all 119 listed their tools without asking for authentication. Backslash Security found hundreds of MCP servers bound to 0.0.0.0, reachable by any device on the same network, a pattern it called NeighborJack. A gateway multiplies that risk, because one open port fronts every tool behind it.
The damage also reaches people who never ran the gateway:
- Colleagues and customers: the tokens behind the gateway usually belong to shared GitHub organisations, Slack workspaces or databases, so a single developer’s open port can expose team code and customer data.
- Shared hosts: on build servers or shared Docker hosts, root on the host through the second flaw means access to every other container and secret on that machine.
- Software supply chain: with unsigned images accepted by default (CVE-2026-76094), a swapped MCP server image could run inside developer environments that later push code to production.
Still open: whether anyone found and abused an exposed gateway port during those five months, and how many Desktop installs still run a release older than 4.96.3. Docker has published neither, and we will update this article if that changes.
How we checked
Checked on 2 December 2026, 21:18 CET.
- Read Docker’s two critical GitHub advisories in full and the NVD descriptions of all five CVEs.
- Read the 0.43.1 release notes for the new defaults and breaking changes.
- Searched the Docker Desktop release notes for bundled gateway versions; only 4.77.0 (0.42.2), 4.96.3 (0.44.2) and 4.99.0 (0.44.3) name one.
- The day counts are our own arithmetic on the GitHub and NVD dates; the pull count comes from the Docker Hub API on 2 December 2026.
- We did not test the flaws ourselves and found no report of exploitation.



