CVE-2026-4515
Foundation Agents MetaGPT operator.py code_generate code injection
- State
- Published
- Severity
- 5.3 Medium
- Published
- Mar 21, 2026
- Updated
- Mar 24, 2026
- Reserved
- Mar 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS: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 | VulDB |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
MetaGPTFoundation Agents |
|
References
- VDB-352080 | Foundation Agents MetaGPT operator.py code_generate code injectionvdb-entrytechnical-description
- VDB-352080 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #773929 | deepwisdom MetaGPT v0.8.1 Remote command executionthird-party-advisory
- https://github.com/Ka7arotto/cve/blob/main/metagpt-rce1.mdexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.