CVE-2024-23750
HIGH 8.8CVSS 3.1Code execution in metagpt
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.
- Published
- 22 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-g7ph-8423-pf4jPYSEC-2024-9
- Sources
- NVDJSONOSV GHSA-g7ph-8423-pf4jJSONOSV PYSEC-2024-9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deepwisdom | metagptcpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:* |
<= 0.6.4 | |
| OSV | PyPI | metagpt | <= 0.6.6 | |
| OSV | PyPI | metagpt | < 0.6.5 | 0.6.5 |
References
- https://github.com/geekan/MetaGPT/issues/731 · Exploit, Issue Tracking, Vendor Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2024-23750 · ADVISORY
- https://github.com/geekan/MetaGPT · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml · WEB
- https://github.com/advisories/GHSA-g7ph-8423-pf4j · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 22 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jan 2024)