Critical

MCP Gateway container escape via unauthenticated management tools

An attacker can call the mcp-add or mcp-config-set tools with no authorization and supply config values that are never validated. At run time these values become Docker bind mounts, so they can mount a sensitive host path such as the Docker socket into a spawned container and escape it.

Systems
macOSWindowsLinux
Fixed in
0.43.1
CVSS
9.0
Weakness
CWE-862
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 0.43.1. Check the version you have and update to 0.43.1 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
mcp-gatewayother>=0.9.3, <0.43.10.43.1

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running MCP Gateway version 0.9.3 up to but not including 0.43.1, on macOS, Windows or Linux.

Expected outcome after remediation

Report the MCP Gateway version found, whether it was in the affected range, and confirm it was updated to 0.43.1 or later with any suspicious volumes removed.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5617 and your operating system.

Related mcp-gateway incidents

All mcp-gateway incidents