GHSA-fcc8-4q7h-wvwc · Severity: medium · Ecosystem: pip — FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/tools/libs/terminal.py
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.
Conclusion & alert: CVE-2026-5974 is rated High Exploit Risk (72.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.24%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.79% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.46% | 2.24% | +1.79% |
| 2 | 2026-05-21 | 0.41% | 0.46% | +0.04% |
| 3 | 2026-04-30 | — | 0.41% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 7.3 | 3.1 | HIGH |
|
3.9 | 3.4 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
GHSA-fcc8-4q7h-wvwc · Severity: medium · Ecosystem: pip — FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/tools/libs/terminal.py
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| deepwisdom | metagpt | <= 0.8.1 | cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/FoundationAgents/MetaGPT/ | Product |
| https://github.com/FoundationAgents/MetaGPT/issues/1931 | Issue Tracking Exploit |
| https://github.com/FoundationAgents/MetaGPT/pull/1940 | Issue Tracking Patch |
| https://vuldb.com/submit/791758 | Exploit Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/356528 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/356528/cti | Permissions Required |