Foundation Agents · Metagpt · CVE-2026-11455
**Name of the Vulnerable Software and Affected Versions**
FoundationAgents MetaGPT versions prior to 0.8.3
**Description**
Command injection is possible via the `mermaid.path` argument in the `check cmd exists()` function located in the `metagpt/utils/common.py` file. This issue allows a remote attacker to execute arbitrary commands, although the attack requires a high degree of complexity and is considered difficult to exploit.
**Recommendations**
Update to a version later than 0.8.2.
As a temporary workaround, restrict or avoid the use of the `mermaid.path` argument within the `check cmd exists()` function.