# CVE-2026-11455: FoundationAgents MetaGPT command injection in check_cmd_exists

Source: https://junglewise.ai/threats/cve-2026-11455-foundationagents-metagpt-command-injection-in-check-cmd-exists  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-07. Updated: 2026-06-07  
License: CC BY 4.0 with a link back

CVE-2026-11455 · Severity: medium · CVSS 5 · Published 2026-06-07

MetaGPT is a multi-agent framework used to build AI-driven software applications. A security flaw in how the system handles configuration settings for Mermaid (a diagramming tool) allows an attacker to execute unauthorized commands on the underlying server. This could lead to a complete system compromise, though the attack is complex to perform and requires some level of existing access.

## Quick answers

**Is CVE-2026-11455 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-11455 being exploited in the wild.

**How severe is CVE-2026-11455?** Medium severity, with a CVSS score of 5, published 7 June 2026.

**Which products and versions are affected?** FoundationAgents MetaGPT up to 0.8.2.

**Is there a fix for CVE-2026-11455?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-11455 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-11455?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A command injection vulnerability exists in MetaGPT versions up to 0.8.2 within the `check_cmd_exists` function located in `metagpt/utils/common.py`. The vulnerability is rooted in the improper neutralization of the `mermaid.path` configuration argument, which is passed to a system shell without sufficient validation. A remote attacker with low privileges can exploit this by manipulating the path configuration to execute arbitrary system commands. While the attack vector is network-based, exploitation is considered difficult and requires a high degree of complexity. As of the advisory date, the project has been notified via an issue report but a formal patch has not been confirmed.

## Affected products

- FoundationAgents MetaGPT up to 0.8.2

## Timeline

- 2026-06-07: advisory: Initial disclosure via VulDB and NVD
- 2026-06-07: disclosed: Public exploit details shared via Notion and GitHub issues

## References

- [https://github.com/FoundationAgents/MetaGPT/](https://github.com/FoundationAgents/MetaGPT/)
- [https://github.com/FoundationAgents/MetaGPT/issues/2037](https://github.com/FoundationAgents/MetaGPT/issues/2037)
- [https://vuldb.com/cve/CVE-2026-11455](https://vuldb.com/cve/CVE-2026-11455)
- [https://vuldb.com/submit/828206](https://vuldb.com/submit/828206)
- [https://vuldb.com/vuln/369074](https://vuldb.com/vuln/369074)
- [https://vuldb.com/vuln/369074/cti](https://vuldb.com/vuln/369074/cti)
- [https://www.notion.so/asuka39/MetaGPT-Command-Injection-via-Mermaid-path-Configuration-35fe35b8556880b29113c8c1b414a8b2?source=copy_link](https://www.notion.so/asuka39/MetaGPT-Command-Injection-via-Mermaid-path-Configuration-35fe35b8556880b29113c8c1b414a8b2?source=copy_link)
