CVE-2026-5972
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.
Published:Apr 9, 2026
Last Modified:Apr 29, 2026
EPS:Apr 9, 2026
EPSS Score:0.01761
CVSS Score:7.3
Affected Products
Vendor
Product
Action
Vendor
Deepwisdom
Product
Metagpt
Deepwisdom
Metagpt
Vendor
Foundation Agents
Product
Metagpt
Foundation Agents
Metagpt
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
