CVE-2026-4515

Source
https://cve.org/CVERecord?id=CVE-2026-4515
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4515.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-4515
Published
2026-03-21T11:32:11Z
Modified
2026-08-27T03:57:09Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Foundation Agents MetaGPT operator.py code_generate code injection
Details

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.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-74",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4515.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "0.8.0"
                },
                {
                    "last_affected": "0.8.0"
                },
                {
                    "introduced": "0.8.1"
                },
                {
                    "last_affected": "0.8.1"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/FoundationAgents/MetaGPT

Affected ranges

Type
GIT
Repo
https://github.com/FoundationAgents/MetaGPT
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "cpe": "cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.8.1"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.8.0
v0.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4515.json"

Git / github.com/foundationagents/metagpt

Affected ranges

Type
GIT
Repo
https://github.com/foundationagents/metagpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "cpe": "cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.8.1"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.8.0
v0.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4515.json"