CVE-2026-0761

Source
https://cve.org/CVERecord?id=CVE-2026-0761
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0761.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-0761
Published
2026-01-23T03:28:16.187Z
Modified
2026-07-15T01:49:14.565194393Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Foundation Agents MetaGPT actionoutput_str_to_mapping Code Injection Remote Code Execution Vulnerability
Details

Foundation Agents MetaGPT actionoutputstrto_mapping Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foundation Agents MetaGPT. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the actionoutputstrto_mapping function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28124.

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

Affected packages

Git / github.com/foundationagents/metagpt

Affected ranges

Type
GIT
Repo
https://github.com/foundationagents/metagpt
Events
Database specific
{
    "cpe": "cpe:2.3:a:deepwisdom:metagpt:0.8.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.8.1"
        },
        {
            "last_affected": "0.8.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.8.1
v0.*
v0.8.1

Database specific

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