CVE-2026-4515 Details
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.
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Ka7arotto/cve/blob/main/metagpt-rce1.md | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.352080 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.352080 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.773929 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deepwisdom metagpt | <= 0.8.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 21, 2026 | New CVE Received | [email protected] |