What’s Vulnerable › Vulnerabilities
CVE-2026-5974: FoundationAgents MetaGPT terminal.py Bash.run os command injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-09 · updated 2026-10-26
- Weakness: CWE-77
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.
Affected products
- FoundationAgents MetaGPT: through 0.8.1
References
- https://github.com/FoundationAgents/MetaGPT/
- https://github.com/FoundationAgents/MetaGPT/issues/1931
- https://github.com/FoundationAgents/MetaGPT/pull/1940
- https://vuldb.com/submit/791758
- https://vuldb.com/vuln/356528
- https://vuldb.com/vuln/356528/cti
Get alerted when CVE-2026-5974 or the next vulnerability affects your stack