CVE-2026-5974Published Apr 9, 2026 · Apr 9Updated Oct 28
FoundationAgents MetaGPT terminal.py Bash.run os command injection
FoundationAgents MetaGPT
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| metagpt PyPI |
| No fix yet |
Original description
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.
From the CVE record · VulDB