CVE-2026-5974

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run in the library metagpt/tools/libs/terminal.py. This manipulation causes os command injection. The attack is possible to be carried out remotely. The project was informed of the problem early through a pull request but has not reacted yet.
References
Link Resource
https://github.com/FoundationAgents/MetaGPT/ Product
https://github.com/FoundationAgents/MetaGPT/issues/1931 Exploit Issue Tracking
https://github.com/FoundationAgents/MetaGPT/pull/1940 Issue Tracking Patch
https://vuldb.com/submit/791758 Exploit Third Party Advisory VDB Entry
https://vuldb.com/vuln/356528 Third Party Advisory VDB Entry
https://vuldb.com/vuln/356528/cti Permissions Required
Configurations

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-04-09 20:16

Updated : 2026-06-17 10:59


NVD link : CVE-2026-5974

Mitre link : CVE-2026-5974

CVE.ORG link : CVE-2026-5974


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')