GHSA-wp29-qmvj-frvp · Severity: medium · Ecosystem: pip — FoundationAgents MetaGPT vulnerable to os command injection via the Terminal.run_command
A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1. This issue affects the function Terminal.run_command in the library metagpt/tools/libs/terminal.py. The manipulation leads to os command injection. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. The identifier of the patch is d04ffc8dc67903e8b327f78ec121df5e190ffc7b. Applying a patch is the recommended action to fix this issue.
Conclusion & alert: CVE-2026-5972 is rated High Exploit Risk (67.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.33%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.87% 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.33% | +1.87% |
| 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 |
|---|---|---|---|---|---|---|
| 5.5 | 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-wp29-qmvj-frvp · Severity: medium · Ecosystem: pip — FoundationAgents MetaGPT vulnerable to os command injection via the Terminal.run_command
| 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/1929 | Exploit Issue Tracking |
| https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b | Patch |
| https://vuldb.com/submit/791745 | Exploit Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/356526 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/356526/cti | Permissions Required VDB Entry |