CVE-2024-23750
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
metagpt (PyPI)up to 0.6.6, before 0.6.5GitHub Advisory Database, PyPA Advisory Database
deepwisdom metagptup to 0.6.4NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

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

Sources

SourceRecordLicence
CVE ListCVE-2024-23750 changed 2025-06-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-g7ph-8423-pf4j changed 2024-02-16CC-BY-4.0
NVDCVE-2024-23750 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-9 changed 2026-06-10CC-BY-4.0