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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.5 · deepwisdomNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*
References 6
- 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