CVE-2026-5972 FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection
MediumCVSS 6.9
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi metagpt(PyPI) | < 0.8.2 | 0.8.2 |
| pypi metagpt(PyPI) | = 0.1 | No fix listed |
| pypi metagpt(PyPI) | = 0.3.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.4.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.5.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.5.1 | No fix listed |
| pypi metagpt(PyPI) | = 0.5.2 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.1 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.10 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.11 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.12 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.13 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.2 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.3 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.4 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.5 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.6 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.7 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.8 | No fix listed |
| pypi metagpt(PyPI) | = 0.6.9 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.1 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.2 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.3 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi metagpt(PyPI) | = 0.7.4 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.6 | No fix listed |
| pypi metagpt(PyPI) | = 0.7.7 | No fix listed |
| pypi metagpt(PyPI) | = 0.8.0 | No fix listed |
| pypi metagpt(PyPI) | = 0.8.1 | No fix listed |
| foundationagents metagpt | = 0.8.0 | No fix listed |
| foundationagents metagpt | = 0.8.1 | No fix listed |
| pypi metagpt(PyPI) | <= 0.8.1 | No fix listed |
| deepwisdom metagpt | <= 0.8.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking
- github.com patch
- github.com product
- Submit #791745 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78) exploit third-party-advisory vdb-entry
- VDB-356526 | FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection technical-description third-party-advisory vdb-entry
- VDB-356526 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature vdb-entry
- pypi.org product
- github.com vendor-advisory