CVE 6.9 MEDIUM

FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection_CVE-2026-5972

6.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

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.

Basic Information

ID CVE-2026-5972
Source VulDB
Published Apr 9, 2026 at 19:00
Modified Apr 10, 2026 at 14:13

Affected Product

Vendor FoundationAgents
Product MetaGPT
Version 0.8.0
Affected Versions FoundationAgents MetaGPT 0.8.0
FoundationAgents MetaGPT 0.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.