metagpt
Affected
- introduced
0, fixed0.8.2(ecosystem)
Fixed versions
0.8.2
Fix
- Fixed version
0.8.2pip install --upgrade metagpt==0.8.2
Advisory
Also known as: CVE-2026-5972, GHSA-wp29-qmvj-frvp
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.
High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
0, fixed 0.8.2 (ecosystem)0.8.2
0.8.2pip install --upgrade metagpt==0.8.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0