Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant malicious value in untrusted content
-
DeliveryAgent invokes affected MCP tool with tainted parameter
-
ExploitMetacharacters escape quoted execSync argument
-
ExecutionShell executes injected commands
-
ImpactArbitrary OS command execution as MCP server user
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 that one of the vulnerable MCP tools (in standalone-stdio.ts, the fastmcp servers, or the agent/swarm/hooks tool modules) be invoked with an attacker-influenced value for a parameter that reaches the execSync sink - specifically agent, task, name, language, or agentdb - carrying shell metacharacters that escape the surrounding double quotes. For stdio transports, the limiting factor is that the agent must be induced to pass attacker-controlled data (via untrusted web pages, files, or third-party tool output) into the tool, so exploitation depends on the agent processing untrusted content (this is the UI:R gate). For the HTTP/SSE transports (http-sse.ts, http-streaming-updated.ts), the advisory states the sinks are exposed without authentication or Origin/Host validation, so the additional condition is that the operator binds these transports to a network-reachable interface - in that configuration exploitation is unauthenticated and needs no agent interaction. All affected versions are <= 2.0.13; version 2.0.14 removes the sink. |
| Impact | The reported CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 8.8) reflects network-reachable, low-complexity exploitation yielding full confidentiality, integrity, and availability impact, with user interaction (UI:R) capturing that the agent must process attacker-influenced data. The strongest real-world signal is the published proof of concept - publicly available exploit code exists - but there is no CISA KEV listing and no EPSS score in the provided data, so exploitation appears potential rather than demonstrated in the wild; treat prioritization as driven by POC availability plus product exposure, not confirmed mass exploitation. Genuine risk is highly deployment-dependent: for stdio-transport deployments, exploitation requires the agent to ingest untrusted content, effectively a user-interaction gate (UI:R); for the http-sse.ts / http-streaming-updated.ts transports, the advisory states the same sinks are exposed without authentication or Origin/Host validation, which raises effective severity to unauthenticated network RCE if bound to a reachable interface. No EPSS or KEV data is available to corroborate exploitation likelihood, so the CVSS score and vendor-published POC are the primary evidence; the PR:N/UI:R combination is defensible for the untrusted-content threat model but should be validated against each deployment's actual exposure. |
| Exploit ScenarioDerived | An attacker plants a malicious instruction inside content the agent will read - a web page, file, or third-party tool response - containing a crafted task value such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
OS command injection in Agentic-Flow (npm package ruvnet/agentic-flow) before 2.0.14 lets attacker-controlled MCP tool parameters - agent, task, name, language, and agentdb - break out of double-quoted shell arguments and run arbitrary OS commands as the MCP server user. The AI-orchestration platform's MCP server tools interpolated these values straight into strings passed to execSync(), so any untrusted content (web pages, files, third-party tool output) that the agent processes can reach the sink, and the HTTP/SSE transports expose the same sinks over the network without authentication. A working proof of concept is published in the vendor's GHSA advisory; there is no evidence of active in-the-wild exploitation (not in CISA KEV).
RemediationAI
Vendor-released patch: upgrade agentic-flow to 2.0.14 or later (npm install agentic-flow@^2.0.14), which replaces execSync template-string interpolation with execFileSync argv arrays and shell:false; downstream ruflo users should move to 3.12.4, which requires agentic-flow >=2.0.14. The fix is delivered in PR https://github.com/ruvnet/agentic-flow/pull/170 (commit 0c2ec967736a8b6b85832c6bae2a3e74989705ec) and ruflo PR https://github.com/ruvnet/ruflo/pull/2415; see advisory GHSA-vcv2-r9jh-99m5 for details. If immediate patching is not possible, do not expose the HTTP/SSE MCP transports (http-sse.ts, http-streaming-updated.ts) on any reachable network interface - bind them to localhost only and place them behind an authenticating reverse proxy that validates Origin/Host, since the advisory confirms these transports lack authentication (trade-off: breaks remote MCP clients that relied on direct network access). Additionally restrict what untrusted content the agent processes and avoid feeding third-party web/file/tool output into the affected tools (agent, task, name, language, agentdb), and run the MCP server as a low-privilege, sandboxed user to limit blast radius (trade-off: does not close the injection, only reduces impact).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Agentic-Flow is a Node.js/TypeScript AI-agent orchestration platform that ships an MCP (Model Context Protocol) server exposing tools the LLM can call. The flaw is a classic CWE-78 (OS Command Injection): affected files (src/mcp/standalone-stdio.ts, the fastmcp servers claude-flow-sdk.ts, stdio-full.ts, http-streaming-updated.ts, http-sse.ts, poc-stdio.ts, and the agent/swarm/hooks tool modules) built shell command strings via template interpolation - e.g. npx --yes agentic-flow --agent "${agent}" --task "${task}" - and passed them to child_process.execSync(), which runs the string through /bin/sh. Because the parameters are placed inside double quotes without escaping, a value containing " and shell metacharacters (;, backticks, $()) escapes the quoting and injects commands. The vendor notes this was a partial-fix gap: an earlier commit 6a06854 (#158) remediated CWE-78 elsewhere but missed the MCP server files. The 2.0.14 fix replaces execSync with execFileSync using argv arrays and shell:false, so each user value stays a discrete argv element that the shell cannot reinterpret. Per CPE cpe:2.3:a:ruvnet:agentic-flow, only the ruvnet agentic-flow product is affected.
Know when Agentic Flow 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Untrusted content must reach the tool (UI:R) but no auth is required on the exposed sinks (PR:N); trivial injection (AC:L) yields full OS control (C/I/A:H) as the server user.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Agentic-Flow is an AI agent orchestration platform. Prior to 2.0.14, agentic-flow MCP server tools in src/mcp/standalone-stdio.ts, src/mcp/fastmcp/servers/claude-flow-sdk.ts, src/mcp/fastmcp/servers/stdio-full.ts, src/mcp/fastmcp/servers/http-streaming-updated.ts, src/mcp/fastmcp/servers/http-sse.ts, src/mcp/fastmcp/servers/poc-stdio.ts, src/mcp/fastmcp/tools/agent/{execute,list,parallel}.ts, src/mcp/fastmcp/tools/swarm/orchestrate.ts, and src/mcp/fastmcp/tools/hooks/pretrain.ts interpolated attacker-influenceable tool parameters such as agent, task, name, language, and agentdb directly into shell command strings passed to execSync(), allowing arbitrary OS command execution with the privileges of the MCP server user. This issue is fixed in version 2.0.14.
Executive ViewAI
Agentic-Flow (npm: ruvnet/agentic-flow before 2.0.14), a widely-used AI agent orchestration platform, contains a high-severity command injection vulnerability with publicly available exploit code that allows unauthenticated attackers to execute arbitrary OS commands with server privileges. Organizations processing untrusted data through Agentic-Flow or exposing the platform to external networks face immediate risk of compromise.
No vendor-released patch identified at time of analysis. Compensating controls include: restrict HTTP/SSE interface access to trusted internal networks through network segmentation; run the MCP server with a dedicated least-privilege service account; enforce strict allowlisting validation on MCP tool parameters (agent, task, name, language, agentdb); sandbox MCP server processes where technically feasible; and implement monitoring to alert on unexpected process spawning or system commands from the MCP server process.
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.
EUVD-2026-45256
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB