FoundDream Miniclawd OS Command Injection Vulnerability

Vulnerability

A critical OS command injection vulnerability exists in FoundDream Miniclawd versions prior to commit 2d65665046e2222eeea76cafc8570ed546a8c125. The issue arises in the ExecTool.execute function within the file src/tools/exec.ts. This vulnerability allows arbitrary command execution by injecting shell metacharacters, exploiting the Node.js spawn() function with shell execution enabled. The vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the server where Miniclawd is running.

Reproduction

To reproduce this vulnerability, send a crafted message to the Miniclawd AI assistant that includes shell metacharacters. The AI will pass this command to the ExecTool.execute function, which will execute the command in the shell. For example, a message like 'Run ls; cat /etc/passwd to check system' would be processed and executed, demonstrating the command injection flaw.

Added: May 26, 2026, 7:49 PM
Updated: May 26, 2026, 7:49 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
9.4
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.