CVE-2026-76097: MCP Gateway: Tool-name shadowing across aggregated servers
MCP Gateway allows easy and secure running and deployment of MCP servers. From version 0.25.0 to before version 0.43.1, when aggregating multiple backend servers, tool names share a flat namespace with no per-server scoping or collision check, so one server can shadow another's tool name (last-writer-wins. 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
Which deployments are affected?
Deployments running MCP Gateway versions 0.25.0 through versions before 0.43.1 are affected when they aggregate multiple backend servers. The issue arises because aggregated tool names use a shared flat namespace without per-server scoping or collision checks.
What must an attacker control to exploit this?
A backend server must be able to provide a tool whose name collides with a tool from another aggregated backend server. Because collisions are handled last-writer-wins, the colliding tool can shadow the earlier tool.
How can I determine whether my gateway is exposed?
Check whether the gateway aggregates more than one backend server and whether any backend tools have duplicate names. On affected versions, a duplicate name can cause one server's tool to replace another in the shared namespace.
What should I do if I cannot upgrade immediately?
Avoid aggregating backend servers that expose duplicate tool names, and review backend tool inventories for collisions. Upgrade to MCP Gateway 0.43.1 when possible, as that version patches the issue.