FoundationAgents MetaGPT common.py check_cmd_exists command injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-77.
Summary
A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. Affected by this issue is the function check_cmd_exists of the file metagpt/utils/common.py. This manipulation of the argument mermaid.path causes command injection. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitation is known to be difficult. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| FoundationAgents | MetaGPT | 0.8.0; 0.8.1; 0.8.2 | — | No fix listed | CNA |
- MetaGPT VendorFoundationAgents Affected 0.8.0; 0.8.1; 0.8.2 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-11455
- 2026-10-03 Alias added: GHSA-h4jg-8v58-57wj
References
More FoundationAgents vulnerabilities
- TI-2024-15753 MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because… CVSS 3.1HIGH 8.8
- TI-2026-05354 FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection CVSS 4.0MEDIUM 6.9
- TI-2026-05237 FoundationAgents MetaGPT terminal.py Bash.run os command injection CVSS 4.0MEDIUM 6.9
- TI-2026-05236 FoundationAgents MetaGPT common.py get_mime_type os command injection CVSS 4.0MEDIUM 6.9
- TI-2026-05235 FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection CVSS 4.0MEDIUM 6.9
- TI-2026-05234 FoundationAgents MetaGPT XML action_node.py ActionNode.xml_fill eval injection CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-11455 · CVE Program
- CVE-2026-11455 · NVD
- FIRST EPSS
- GHSA-h4jg-8v58-57wj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences