picoclaw is vulnerable to OS command injection via the ExecTool component
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sipeed/picoclaw Go |
| No fix yet |
Original description
picoclaw <=v0.1.2 and earlier is vulnerable to OS command injection via the ExecTool component (pkg/tools/shell.go). The guardCommand() function attempts to restrict shell command execution using a denylist of 8 regular expressions, but the denylist is incomplete.
From the CVE record · mitre