{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-23750","id":"CVE-2024-23750","title":"Code execution in metagpt","description":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","descriptionLong":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","published":"2024-01-22T00:00:00.000Z","updated":"2026-10-28T02:30:26.487876587Z","reserved":"2024-01-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"metagpt","purl":"pkg:pypi/metagpt","ranges":["<=0.6.6","<0.6.5"],"fixed":["0.6.5"],"advisory":"GHSA-g7ph-8423-pf4j"}],"cwes":["CWE-94"],"aliases":["GHSA-g7ph-8423-pf4j","PYSEC-2024-9"],"references":[{"url":"https://github.com/geekan/MetaGPT/issues/731","tags":["x_transferred","Exploit","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23750.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750","tags":["advisory"]},{"url":"https://github.com/geekan/MetaGPT","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.0096,"epssPercentile":0.62369,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-23750","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-23750","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j","ok":true,"note":"GHSA-g7ph-8423-pf4j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-23750","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}