Foundation Agents MetaGPT
cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*
- <= 0.8.1
A remote code execution vulnerability has been identified in Foundation Agents MetaGPT versions through 0.8.1. The issue arises in the 'code_generate' function within 'metagpt/ext/aflow/scripts/operator.py', where inadequate sanitization allows for code injection. This vulnerability enables attackers to execute arbitrary commands on the host machine.
Exploitation of this vulnerability allows for remote execution of commands on the server where MetaGPT is running.
To reproduce this vulnerability, upload a prompt to the MetaGPT 'Programmer' component that includes a crafted instruction to bypass the application's security filters. The injected code can then be executed on the server.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.