CVE-2026-76099: MCP Gateway: Unvalidated config-driven bind mount via dynamic tools
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.43.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker who can invoke the exposed dynamic management tools mcp-add or mcp-config-set can supply configuration values that influence bind-mount paths. No authorization gate protects these tools in affected versions.
What access does an attacker gain?
An attacker can cause a sensitive host path, such as the Docker socket, to be mounted into a spawned container. This can yield code execution as root on the host.
Which deployments are affected?
MCP Gateway versions 0.9.3 through before 0.43.1 are affected when dynamic management tools are exposed and configuration can be used to expand catalog Spec.Volumes templates into Docker bind mounts.
What is the remediation?
Upgrade MCP Gateway to version 0.43.1, which patches the issue.