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.
{
"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"
}{
"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"
}
]
}