OS Command Injection in FoundationAgents MetaGPT Software
CVE-2026-5974
6.9MEDIUM
What is CVE-2026-5974?
A significant vulnerability exists in FoundationAgents MetaGPT, particularly in the Bash.run function found in the library metagpt/tools/libs/terminal.py. The flaw allows for os command injection, which can be exploited by attackers remotely. Despite being alerted through a pull request, the developers have yet to provide a response or remediation for this issue. This vulnerability can pose serious risks to systems utilizing MetaGPT, and users are urged to take necessary precautions.
Affected Version(s)
MetaGPT 0.8.0
MetaGPT 0.8.1
