RCE in Deepwisdom Metagpt
CVE-2026-5972
A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1. This issue affects the function Terminal.run_command in the library metagpt/tools/libs/terminal.py. The manipulation leads to os command injection. Remote exploitation…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.005 (64.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Deepwisdom Metagpt
- Foundationagents Metagpt — versions 0.8.0, 0.8.1
Weakness classification (CWE)
References
- VDB-356526 | FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-356526 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #791745 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, exploit, Issue Tracking)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (Product, product)
Frequently asked questions
- What is CVE-2026-5972?
- CVE-2026-5972 is a high-severity vulnerability in Deepwisdom Metagpt, classified under Command Injection. CVSS score: 7.3/10. Published 2026-04-09.
- How severe is CVE-2026-5972?
- High severity. CVSS v3 base score is 7.3 out of 10.