CVE-2026-5974 json
FoundationAgents MetaGPT terminal.py Bash.run os command injection
published 2026-04-09 7 mo ago modified 2026-10-26 13 d ago also GHSA-fcc8-4q7h-wvwc , PYSEC-2026-2639 , EUVD-2026-21072
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/FoundationAgents/MetaGPT#1940 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
2.56% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- vuldb.com https://vuldb.com/submit/791758 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/FoundationAgents/MetaGPT/issues/1931 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R |
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:UR |
| CNA | 4.0 | 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 |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | metagpt | <=0.8.1 |
no fix listed |
Affected products
- FoundationAgents MetaGPT
Classification
References
-
github.com
/FoundationAgents/MetaGPT/pull/1940
issue-tracking, patch, web
-
vuldb.com
/submit/791758
third-party-advisory, web, exploit, vdb-entry
-
github.com
/FoundationAgents/MetaGPT/issues/1931
issue-tracking, web, exploit
-
vuldb.com
/vuln/356528
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/vuln/356528/cti
signature, permissions-required, web
-
github.com
/FoundationAgents/MetaGPT/
product
-
nvd.nist.gov
/vuln/detail/CVE-2026-5974
advisory
-
github.com
/FoundationAgents/MetaGPT
package
-
pypi.org
/project/metagpt
package
-
github.com
/advisories/GHSA-fcc8-4q7h-wvwc
advisory
Sources
- CVE List CVE-2026-5974
- GitHub Advisory GHSA-fcc8-4q7h-wvwc
- NVD CVE-2026-5974
- OSV PYSEC-2026-2639
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.