{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/9025?format=json","vulnerability_id":"VCID-vf3p-g7qx-tufn","summary":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","aliases":[{"alias":"CVE-2024-23750"},{"alias":"GHSA-g7ph-8423-pf4j"},{"alias":"PYSEC-2024-9"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/37846?format=json","purl":"pkg:pypi/metagpt@0.6.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.5"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67380?format=json","purl":"pkg:pypi/metagpt@0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0"},{"url":"http://public2.vulnerablecode.io/api/packages/37835?format=json","purl":"pkg:pypi/metagpt@0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/37836?format=json","purl":"pkg:pypi/metagpt@0.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/37837?format=json","purl":"pkg:pypi/metagpt@0.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/37838?format=json","purl":"pkg:pypi/metagpt@0.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/37839?format=json","purl":"pkg:pypi/metagpt@0.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/37840?format=json","purl":"pkg:pypi/metagpt@0.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.5.2"},{"url":"http://public2.vulnerablecode.io/api/packages/37841?format=json","purl":"pkg:pypi/metagpt@0.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/37842?format=json","purl":"pkg:pypi/metagpt@0.6.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.1"},{"url":"http://public2.vulnerablecode.io/api/packages/37843?format=json","purl":"pkg:pypi/metagpt@0.6.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.2"},{"url":"http://public2.vulnerablecode.io/api/packages/37844?format=json","purl":"pkg:pypi/metagpt@0.6.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.3"},{"url":"http://public2.vulnerablecode.io/api/packages/37845?format=json","purl":"pkg:pypi/metagpt@0.6.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.4"},{"url":"http://public2.vulnerablecode.io/api/packages/67381?format=json","purl":"pkg:pypi/metagpt@0.6.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vf3p-g7qx-tufn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/metagpt@0.6.6"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-23750","reference_id":"","reference_type":"","scores":[{"value":"0.00527","scoring_system":"epss","scoring_elements":"0.67361","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-23750"},{"reference_url":"https://github.com/geekan/MetaGPT","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/geekan/MetaGPT"},{"reference_url":"https://github.com/geekan/MetaGPT/issues/731","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-01-22T13:39:23Z/"}],"url":"https://github.com/geekan/MetaGPT/issues/731"},{"reference_url":"https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750","reference_id":"CVE-2024-23750","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750"},{"reference_url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j","reference_id":"GHSA-g7ph-8423-pf4j","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-g7ph-8423-pf4j"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":94,"name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-vf3p-g7qx-tufn"}