{"id":"CVE-2024-23750","aliases":["CVE-2024-23750","GHSA-g7ph-8423-pf4j","PYSEC-2024-9"],"related":[],"kind":"vulnerability","state":"published","title":"Code execution in metagpt","summary":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-01-22T00:00:00.000Z","modified":"2026-06-17T07:13:31.440Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.6.6"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.6.4"}],"vendor":"deepwisdom","product":"metagpt","cpe":"cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.6.5"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"pysec"}],"references":[{"url":"https://github.com/geekan/MetaGPT/issues/731","tags":["exploit","issue-tracking","report","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geekan/MetaGPT","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-01-22T13:39:23.980Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23750","url":"https://www.cve.org/CVERecord?id=CVE-2024-23750","licence":"CVE Terms of Use","modified":"2025-06-20T18:42:14.289Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g7ph-8423-pf4j","url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j","licence":"CC-BY-4.0","modified":"2024-02-16T08:22:47.281Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23750","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750","licence":"Public domain","modified":"2026-06-17T07:13:31.440Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-9","url":"https://osv.dev/vulnerability/PYSEC-2024-9","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:25.028Z"}],"updatedAt":"2026-11-25T22:58:36.260Z","epss":{"score":0.0096,"percentile":0.62536,"date":"2026-12-01T12:00:22.000Z"}}