CVE-2026-5974

Source
https://cve.org/CVERecord?id=CVE-2026-5974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-5974
Aliases
Published
2026-04-09T19:30:15.216Z
Modified
2026-07-15T01:49:17.674211998Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X CVSS Calculator
Summary
FoundationAgents MetaGPT terminal.py Bash.run os command injection
Details

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run in the library metagpt/tools/libs/terminal.py. This manipulation causes os command injection. The attack is possible to be carried out remotely. The project was informed of the problem early through a pull request but has not reacted yet.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-77",
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5974.json"
}
References

Affected packages

Git / github.com/foundationagents/metagpt

Affected ranges

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

Affected versions

0.*
0.8.0
0.8.1
v0.*
v0.8.0
v0.8.1

Database specific

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