
CVE catalog
CVE-2026-5974
A vulnerability was determined in FoundationAgents…
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.
- Severity
- Medium · CVSS 6.9
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.46% · Oct 27, 2026
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [],
"fixed_versions": [],
"distribution_packages": [
{
"name": "metagpt",
"ecosystem": "cpe",
"fixed_version": ""
},
{
"name": "metagpt",
"ranges": [
{
"fixed": "",
"introduced": "",
"last_affected": "0.8.1",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "",
"provider_record_id": "NVD-CVE-2026-5974"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
Observed:
References
- [https://github.com/FoundationAgents/MetaGPT/]
- [https://github.com/FoundationAgents/MetaGPT/issues/1931]
- [https://github.com/FoundationAgents/MetaGPT/pull/1940]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-5974]
- [https://vuldb.com/submit/791758]
- [https://vuldb.com/vuln/356528]
- [https://vuldb.com/vuln/356528/cti]