Description
A vulnerability has been found in Foundation Agents MetaGPT up to 0.8.1. This affects the function code_generate of the file metagpt/ext/aflow/scripts/operator.py. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Problem types
Product status
0.8.1
Timeline
| 2026-03-20: | Advisory disclosed |
| 2026-03-20: | VulDB entry created |
| 2026-03-20: | VulDB entry last update |
Credits
Goku (VulDB User)
VulDB
References
vuldb.com/?id.352080 (VDB-352080 | Foundation Agents MetaGPT operator.py code_generate code injection)
vuldb.com/?ctiid.352080 (VDB-352080 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/?submit.773929 (Submit #773929 | deepwisdom MetaGPT v0.8.1 Remote command execution)
github.com/Ka7arotto/cve/blob/main/metagpt-rce1.md