CVE-2026-5973: FoundationAgents MetaGPT · OS Command Injection
Affects FoundationAgents MetaGPTSource CVE Database V5
Public exploit available · CVSS 6.9 Medium.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 2.5% 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:PExploitation evidence
Disclosed: evidence found.
CVE published 9 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
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), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 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
Until a patch is released, consider restricting network access to the vulnerable service and applying any available application-level input validation or sandboxing as temporary mitigations.
Description
A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1. Impacted is the function get_mime_type of the file metagpt/utils/common.py. The manipulation results in os command injection. The attack can be executed remotely. The exploit has been made public and could be used. The project was informed of the problem early through a pull request but has not reacted yet.
References
- vuldb.com/vuln/356527 (opens in a new tab)
- vuldb.com/vuln/356527/cti (opens in a new tab)
- vuldb.com/submit/791755 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/issues/1930 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/pull/1983 (opens in a new tab)
- github.com/FoundationAgents/MetaGPT/ (opens in a new tab)