Command injectionin FoundationAgents MetaGPT.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Apr 2026CVE ID reserved by VulDB.
- 9 Apr 2026Published in the CVE List.
- 14 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other MetaGPT vulnerabilities
Same weakness: OS command injection
- vuldb.com vdb-entry, technical-description
- vuldb.com signature, permissions-required
- vuldb.com third-party-advisory
- github.com issue-tracking, patch
- github.com product
Patchminder. CVE-2026-5973: Command injection in FoundationAgents MetaGPT. https://patchminder.com/cve/cve-2026-5973/ (accessed 5 December 2026).