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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad ha sido encontrada en FoundationAgents MetaGPT hasta 0.8.1. Este problema afecta a la función Terminal.run_command en la biblioteca metagpt/tools/libs/terminal.py. La manipulación conduce a inyección de comandos del sistema operativo. La explotación remota del ataque es posible. El exploit ha sido divulgado al público y puede ser utilizado. El identificador del parche es d04ffc8dc67903e8b327f78ec121df5e190ffc7b. Aplicar un parche es la acción recomendada para solucionar este problema.

17 Jun 2026, 10:59

Type Values Removed Values Added
References () https://github.com/FoundationAgents/MetaGPT/issues/1929 - Issue Tracking, Exploit () https://github.com/FoundationAgents/MetaGPT/issues/1929 - Exploit, Issue Tracking

29 Apr 2026, 19:26

Type Values Removed Values Added
CPE cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*
First Time Deepwisdom metagpt
Deepwisdom
References () https://github.com/FoundationAgents/MetaGPT/ - () https://github.com/FoundationAgents/MetaGPT/ - Product
References () https://github.com/FoundationAgents/MetaGPT/issues/1929 - () https://github.com/FoundationAgents/MetaGPT/issues/1929 - Issue Tracking, Exploit
References () https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b - () https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b - Patch
References () https://vuldb.com/submit/791745 - () https://vuldb.com/submit/791745 - Exploit, Third Party Advisory, VDB Entry
References () https://vuldb.com/vuln/356526 - () https://vuldb.com/vuln/356526 - Third Party Advisory, VDB Entry
References () https://vuldb.com/vuln/356526/cti - () https://vuldb.com/vuln/356526/cti - Permissions Required, VDB Entry

09 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-09 20:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-5972

Mitre link : CVE-2026-5972

CVE.ORG link : CVE-2026-5972


JSON object : View

Products Affected

deepwisdom

  • metagpt
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')