CVE-2026-5970: FoundationAgents MetaGPT - Command Injection
- Cve: CVE-2026-5970
- Name: FoundationAgents MetaGPT - Command Injection
- Description: A vulnerability was detected in FoundationAgents MetaGPT up to 0.8.1. This affects the function check_solution of the component HumanEvalBenchmark/MBPPBenchmark. Performing a manipulation results in code injection. The attack may be initiated remotely. The exploit is now public and may 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 code, potentially leading to full system compromise.
- Remediation: Update to the latest version beyond 0.8.1.
- 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.00403
- Epss percentile: 0.3527
- Assignee: [email protected]
- Published at: 2026-04-09T18:17:04Z
- Age in days: 229
- Modified at: 2026-10-26T21: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-5970
- 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-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/FoundationAgents/MetaGPT/issues/1942 | nvd | 2026-04-09 |
| https://vuldb.com/submit/791693 | nvd | 2026-04-09 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/FoundationAgents/MetaGPT/pull/1988 | Issue Tracking, Patch |
| https://github.com/FoundationAgents/MetaGPT/issues/1942 | Exploit, Issue Tracking |
| https://vuldb.com/submit/791693 | Exploit, Third Party Advisory, VDB Entry |
| https://vuldb.com/vuln/356524 | Third Party Advisory, VDB Entry |
| https://github.com/FoundationAgents/MetaGPT/ | Product |
| https://vuldb.com/vuln/356524/cti | Permissions Required, VDB Entry |
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