Description
MCP Gateway allows easy and secure running and deployment of MCP servers. From version 0.9.3 to before version 0.43.1, the dynamic management tools mcp-add and mcp-config-set are exposed with no authorization gate, and config supplied to them is validated only against the catalog server's JSON schema — not against the values. At run time the catalog Spec.Volumes templates are expanded with that config and appended as docker -v bind mounts with no host-path allowlist, so an attacker-controlled value can mount a sensitive host path (e.g. the Docker socket) into a spawned container — yielding code execution as root on the host. This issue has been patched in version 0.43.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| docker | mcp-gateway | >= 0.9.3, < 0.43.1 | — |