CVE-2026-5974: FoundationAgents MetaGPT · OS Command Injection
Affects FoundationAgents MetaGPTSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 2.4% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:XExploitation evidence
Disclosed: evidence found.
CVE published 9 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FoundationAgentsMetaGPT | Affected
| Fixed in– |
GitHubfoundationagents/MetaGPTpkg:github/foundationagents/MetaGPTOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor the FoundationAgents MetaGPT project for updates or security advisories. Until a fix is released, avoid exposing vulnerable versions to untrusted networks or inputs that could trigger command injection.
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.
References
- vuldb.com/vuln/356528 (opens in a new tab)
- vuldb.com/vuln/356528/cti (opens in a new tab)
- vuldb.com/submit/791758 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/issues/1931 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/pull/1940 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/ (opens in a new tab)