{"id":"CVE-2024-23750","published":"2024-01-22T00:00:00Z","modified":"2025-06-20T18:42:14Z","title":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell…","vendor":null,"product":null,"tier":"tail","description":{"text":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.013,"percentile":0.70507,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/geekan/MetaGPT/issues/731","tags":[]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":14.1},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-01-22T13:39:23.980127Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"metagpt","vulnerableRanges":["<=0.6.6","<0.6.5"],"patched":["0.6.5"],"from":["GHSA-g7ph-8423-pf4j","PYSEC-2024-9"],"provenance":"source"}],"summary":{"text":"The flaw lies in MetaGPT through version 0.6.4, specifically in the QaEngineer role's RunCode.run_script() function, which passes shell metacharacters to subprocess.Popen. An attacker who can get the QaEngineer role to process crafted input can execute arbitrary code, requiring only low-privilege access and no user interaction, as the attack vector is network-reachable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:21Z"},"euvd":{"id":"EUVD-2024-0100","exploited":false,"provenance":"source"}}