CVE-2026-5973: FoundationAgents MetaGPT - Command Injection
- Cve: CVE-2026-5973
- Name: FoundationAgents MetaGPT - Command Injection
- 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.
- Impact: Remote attackers can execute arbitrary OS commands, potentially leading to full system compromise.
- Remediation: Update to the latest version of FoundationAgents MetaGPT.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02608
- Epss percentile: 0.85785
- Assignee: [email protected]
- Published at: 2026-04-09T20:16:29Z
- Age in days: 229
- Modified at: 2026-10-26T00:10:00Z
- Patch available: yes
- Public exploits total: 2
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5973
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/FoundationAgents/MetaGPT/issues/1930 | nvd | 2026-04-09 |
| https://vuldb.com/submit/791755 | nvd | 2026-04-09 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/FoundationAgents/MetaGPT/pull/1983 | Issue Tracking, Patch |
| https://github.com/FoundationAgents/MetaGPT/issues/1930 | Exploit, Issue Tracking, Mitigation |
| https://vuldb.com/submit/791755 | Exploit, Third Party Advisory, VDB Entry |
| https://vuldb.com/vuln/356527 | Third Party Advisory, VDB Entry |
| https://github.com/FoundationAgents/MetaGPT/ | Product |
| https://vuldb.com/vuln/356527/cti | Permissions Required |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| deepwisdom:metagpt | <= 0.8.1 | no | nvd | /v1/products/deepwisdom/metagpt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| foundationagents/metagpt | issues, package, pull | yes | /v1/repositories/foundationagents/metagpt |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-04-09
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts