Description
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.
Published: 2026-07-17
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Agentic-Flow’s MCP server tools previously allowed unsanitized tool parameters—such as agent, task, name, language, and agentdb—to be interpolated directly into shell command strings passed to execSync(). This flaw permits an attacker who can influence those parameters to execute arbitrary OS commands with the privileges of the MCP server user, potentially compromising the entire system.

Affected Systems

Vulnerable releases of the Ruvnet Agentic-Flow platform before version 2.0.14 are affected. The flaw exists in several server modules, including standalone-stdio, fastmcp servers for Claude Flow, stdio-full, HTTP streaming, SSE, and various tool execution modules. Users running any of these modules before the 2.0.14 update are at risk.

Risk and Exploitability

The CVSS score of 8.8 classifies this as high severity. The EPSS score of less than 1% indicates that, at present, the probability of exploitation is very low, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector involves an attacker sending crafted requests that manipulate the vulnerable parameters; successful exploitation requires that the MCP server’s tools accept user input and that the attacker can reach the MCP server interface, either locally or over a network that has not been adequately secured.

Generated by OpenCVE AI on July 30, 2026 at 23:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Agentic-Flow to version 2.0.14 or later to apply the vendor-provided fix.
  • Validate or sanitize all tool parameters before they are incorporated into shell commands, ensuring that user-controlled values cannot influence command interpolation.
  • Restrict access to MCP server endpoints to trusted networks or authenticated users to reduce the window of opportunity for attackers to supply malicious parameters.

Generated by OpenCVE AI on July 30, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Ruvnet
Ruvnet agentic-flow
Vendors & Products Ruvnet
Ruvnet agentic-flow

Fri, 17 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Agentic-Flow: OS Command Injection in agentic-flow MCP server tools via unsanitized tool-parameter interpolation into execSync
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Ruvnet Agentic-flow
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T19:19:01.284Z

Reserved: 2026-06-29T17:09:25.871Z

Link: CVE-2026-58195

cve-icon Vulnrichment

Updated: 2026-07-17T19:17:44.805Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:00:06Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')