CVE-2024-23750
8.8high
Code execution in metagpt
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.96% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-g7ph-8423-pf4jPYSEC-2024-9
Description
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| metagpt (PyPI) | up to 0.6.6, before 0.6.5 | GitHub Advisory Database, PyPA Advisory Database |
| deepwisdom metagpt | up to 0.6.4 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.
NVD (es)
MetaGPT hasta 0.6.4 permite que la función QaEngineer ejecute código arbitrario porque RunCode.run_script() pasa metacaracteres de shell al subproceso.Popen.
References
| https://github.com/geekan/MetaGPT/issues/731 | exploit, issue-tracking, report, vendor-advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-23750 changed 2025-06-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g7ph-8423-pf4j changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2024-23750 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-9 changed 2026-06-10 | CC-BY-4.0 |