Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-5972

FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

FoundationAgents MetaGPT

  • 0.8.0affected
  • 0.8.1affected

References