Case · DiggingBeagle record

Docker MCP Gateway tool-name case mismatch allowed reserved-tool impersonation

A malicious enabled MCP server could register a casing variant of a gateway-reserved tool name and receive calls intended for the gateway namespace.

Scope

GHSA-qg99-jrvf-j9fh; Docker MCP Gateway versions 0.43.1 through 0.43.3; permitted untrusted server registration and client selection.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Docker's published GitHub security advisory documents the case-sensitive collision check, inconsistent enabled-tool matching and patched v0.44.1. The demonstration requires an enabled hostile MCP server and a dispatch collision. It does not document in-the-wild victim commands or quantify affected installations; impact is unbanded.

Assessed Oct 18, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Step

  2. 02

    Step

  3. 03

    Step

  4. 04

    Step

Claims & evidence

CLM-CP13-MCP-FIXThe advisory specifies 0.44.1 as the fix and identifies versions 0.43.1 through 0.43.3 as vulnerable.supported

Basis: reported finding

Link to claim
CLM-CP13-MCP-NAMEReserved tool collision checking used case-sensitive comparison while enablement treated names differently, allowing a case-variant impersonator.supported

Basis: reported finding

Link to claim
CLM-ENRICH-DOCKER-PRECONDITIONAn attacker needs influence over an MCP server already enabled in the gateway, and a colliding tool must actually be selected for arguments to reach the impersonator; the advisory does not describe a drive-by remote victim.supported

Basis: reported finding

Link to claim

Implications

A tool namespace is itself an authorization interface. Reserved names must have one canonical identity across registration, policy checks, display and dispatch; otherwise even a syntactically valid tool call can be delivered to the wrong principal. The separate Docker MCP Gateway metadata crash case has a different entry point and consequence.

Controls and mitigations

  • Use Docker MCP Gateway v0.44.1 or later, which applies consistent collision and allowlist rules; tool-name prefixing can reduce namespace ambiguity where appropriate.
  • Verify actual selected server identity at dispatch and avoid enabling untrusted MCP servers solely on the basis of innocuous-looking tool descriptions.

Unknowns and contradictions

  • No independently documented production victim or confirmed real credential delivery.
  • Exploit requires an attacker-controlled server to be enabled and selected by an MCP client.

Sources and citation

Material revision history

  1. Oct 18, 2026 · Canonical change recorded · new in release · revision 171