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-23T04:16:02.847Z
Modified
2026-03-13T04:07:29.242012Z
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
[none]
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.

References

Affected packages

Git / github.com/geekan/metagpt

Affected ranges

Type
GIT
Repo
https://github.com/geekan/metagpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.8.1"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.2
v0.6.3
v0.6.4
v0.6.6
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.6
v0.8.0
v0.8.1

Database specific

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