CVE Catalog

CVE-2026-58195

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

37th percentile - higher than 37% of all known CVEs

Summary

Agentic-Flow before version 2.0.14 contains an OS command injection vulnerability. Attackers can manipulate MCP tool parameters such as agent, task, name, language, and agentdb, which are directly interpolated into shell command strings executed by execSync(). This allows remote arbitrary code execution with the privileges of the MCP server user.

Risk Assessment

The organization is at risk of complete compromise of the MCP server by an unauthenticated attacker, potentially leading to data theft, malware installation, or service disruption.

Recommendation

Immediately update Agentic-Flow to version 2.0.14 or later. Restrict access to the MCP server to trusted networks and users only.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS