Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach docker-mcp tool interface
-
DeliveryInject shell metacharacters via project_name
-
Exploit_build_windows_command concatenates unsanitized input
-
ExecutionOS commands execute on Windows host
-
ImpactArbitrary code runs in server context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires docker-mcp version 0.1.0 or 0.2.0 running on Windows, because the vulnerable code path is the Windows-specific _build_windows_command function in docker_executor.py, and the attacker must be able to supply or influence the project_name argument passed into that Docker command builder. The CVSS UI:P metric indicates a user or agent action is needed to invoke the vulnerable tool, so it does not fire passively. Limiting factors: only the two early versions are named as affected, the Windows command-construction path is required (non-Windows deployments use a different path), and the attacker must reach and trigger the MCP tool interface; the 'remote' characterization depends on the server being network-exposed rather than local stdio. |
| Impact | Signals point to a moderate, not urgent, priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) describes a network-reachable, low-complexity, unauthenticated flaw that still requires passive user interaction (UI:P), and VulDB scored all impacts Low (VC:L/VI:L/VA:L). The vuln.today decision label is 'this_month' - meaningfully below act_now/emergency. No CISA KEV listing is present, no EPSS probability was supplied, and no verified exploit code is indicated, so exploitation pressure appears speculative rather than demonstrated. There is tension worth flagging: the weakness is OS command injection (CWE-78), which normally grants arbitrary command execution, yet VulDB rated confidentiality/integrity/availability only Low - I assess the technical impact as higher than that rating (see assessed vector). Also note the 'initiate the attack remotely' claim contrasts with the typical deployment of MCP servers on localhost/stdio; AV:N should be verified against how the server is actually exposed. EPSS is simply absent (not low) - that is missing data, not a reassuring signal. Net: a real but niche medium-severity issue affecting a small developer tool, appropriate to patch on a routine cycle rather than as an emergency. |
| Exploit ScenarioDerived | An attacker (or a prompt-injected AI agent) supplies a crafted project_name containing shell metacharacters to the docker-mcp server running on Windows; when _build_windows_command concatenates that unsanitized value into a command string, the injected commands execute on the host in the server's context. No verified public exploit is indicated, and the attack path needs the vulnerable tool to be invoked (UI:P), so it is not point-and-click against an idle service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 26, 2026
OS command injection in QuantGeekDev docker-mcp 0.1.0 and 0.2.0 allows an attacker who can influence the project_name argument to inject arbitrary shell commands through the Windows-specific command builder in docker_executor.py. The vulnerable path is exercised only on Windows deployments, and the CVSS UI:P component means a user or agent must invoke the affected MCP tool before the payload is assembled, so it does not fire passively. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; the vendor's CVSS 4.0 base score is 5.3, while our independent assessment rates it higher (7.5-equivalent impact under CVSS 3.1) because successful injection yields full command execution.
RemediationAI
No vendor-released patch was identified at time of analysis: the supplied references are VulDB records only, with no fixed version, commit, or pull request named for docker-mcp, so confirm the current release status with the QuantGeekDev project before assuming an upgrade resolves the issue. Because the exploitation conditions are narrow, the effective compensating controls are deployment-shaped: run docker-mcp on Linux or macOS rather than Windows, which avoids _build_windows_command entirely (trade-off: forfeits Windows-native Docker workflows); keep the MCP server on local stdio transport instead of exposing the tool interface over the network, which removes the remote attack surface (trade-off: no shared or hosted agent access); and, if a Windows deployment must stay in service, restrict who and what can supply the project_name argument by gating the tool behind a trusted caller list and rejecting values containing shell metacharacters before they reach docker_executor.py (trade-off: requires a local code change or proxy, and a whitelist that is too tight will break legitimate project names). Re-check the VulDB entry at https://vuldb.com/vuln/426170 for a vendor fix before relying on any of these as permanent.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
docker-mcp is a Model Context Protocol server that exposes Docker operations as callable tools to LLM agents and MCP clients. Inside docker_executor.py, the _build_windows_command function assembles a command line for execution on Windows hosts by interpolating the caller-supplied project_name value into the command string; because that value is not sanitized or passed as an argument vector, metacharacters survive into the shell invocation. This maps to CWE-78 (Improper Neutralization of Special Elements used in an OS Command), the classic shell-injection class in which data crossing a trust boundary is interpreted as code. The CPE cpe:2.3:a:quantgeekdev:docker-mcp:*:*:*:*:*:*:*:* is version-agnostic, but only 0.1.0 and 0.2.0 are named as affected in the available data, and the flaw is confined to the Windows command-construction branch - non-Windows deployments take a different code path. Reachability requires that the MCP tool interface be exposed (for example a network-reachable server rather than local stdio transport) and that an agent or user trigger the tool, which is why the assessed vector carries UI:R.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
OS command injection gives arbitrary command execution (C/I/A High); UI:R since an operator or agent must invoke the tool; PR:N assumes an unauthenticated MCP endpoint.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was determined in QuantGeekDev docker-mcp 0.1.0/0.2.0. The impacted element is the function _build_windows_command of the file docker_executor.py. This manipulation of the argument project_name causes os command injection. It is possible to initiate the attack remotely.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-109587
GHSA-7mj2-6mxg-wcx9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB