Home

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.

PUBLISHED Reserved 2026-03-20 | Published 2026-03-21 | Updated 2026-03-24 | Assigner VulDB




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
MEDIUM: 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
MEDIUM: 6.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
6.5AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Code Injection

Injection

Product status

0.8.0
affected

0.8.1
affected

Timeline

2026-03-20:Advisory disclosed
2026-03-20:VulDB entry created
2026-03-20:VulDB entry last update

Credits

Goku (VulDB User) reporter

VulDB coordinator

References

vuldb.com/?id.352080 (VDB-352080 | Foundation Agents MetaGPT operator.py code_generate code injection) vdb-entry technical-description

vuldb.com/?ctiid.352080 (VDB-352080 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/?submit.773929 (Submit #773929 | deepwisdom MetaGPT v0.8.1 Remote command execution) third-party-advisory

github.com/Ka7arotto/cve/blob/main/metagpt-rce1.md exploit

cve.org (CVE-2026-4515)

nvd.nist.gov (CVE-2026-4515)

Download JSON