CVE-2026-5972
CVE-2026-5972 · FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 2.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
Original sources
- https://vuldb.com/vuln/356526
- https://vuldb.com/vuln/356526/cti
- https://vuldb.com/submit/791745
- https://github.com/FoundationAgents/MetaGPT/issues/1929
- https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b
- https://github.com/FoundationAgents/MetaGPT/
- https://nvd.nist.gov/vuln/detail/CVE-2026-5972