{"id":"CVE-2026-6603","aliases":["CVE-2026-6603","GHSA-cr24-fv3h-8cjm","PYSEC-2026-2331"],"related":[],"kind":"vulnerability","state":"published","title":"modelscope agentscope _python.py execute_shell_command code injection","summary":"A vulnerability was determined in modelscope agentscope up to 1.0.18. Affected by this vulnerability is the function execute_python_code/execute_shell_command of the file src/AgentScope/tool/_coding/_python.py. This manipulation causes code injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability was determined in modelscope agentscope up to 1.0.18. Affected by this vulnerability is the function execute_python_code/execute_shell_command of the file src/AgentScope/tool/_coding/_python.py. This manipulation causes code injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.","source":"cvelist"},{"lang":"es","text":"Se determinó una vulnerabilidad en modelscope agentscope hasta la versión 1.0.18. Esta vulnerabilidad afecta a la función execute_python_code/execute_shell_command del archivo src/AgentScope/tool/_coding/_python.py. Esta manipulación provoca inyección de código. El ataque puede realizarse de forma remota. El exploit ha sido divulgado públicamente y puede ser utilizado. Se contactó al proveedor con antelación sobre esta divulgación, pero no respondió de ninguna manera.","source":"nvd"}],"published":"2026-04-20T04:00:20.462Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"version":"1.0.0","status":"affected"},{"version":"1.0.1","status":"affected"},{"version":"1.0.2","status":"affected"},{"version":"1.0.3","status":"affected"},{"version":"1.0.4","status":"affected"},{"version":"1.0.5","status":"affected"},{"version":"1.0.6","status":"affected"},{"version":"1.0.7","status":"affected"},{"version":"1.0.8","status":"affected"},{"version":"1.0.9","status":"affected"},{"version":"1.0.10","status":"affected"},{"version":"1.0.11","status":"affected"},{"version":"1.0.12","status":"affected"},{"version":"1.0.13","status":"affected"},{"version":"1.0.14","status":"affected"},{"version":"1.0.15","status":"affected"},{"version":"1.0.16","status":"affected"},{"version":"1.0.17","status":"affected"},{"version":"1.0.18","status":"affected"}],"vendor":"modelscope","product":"agentscope","cpe":"cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0.18"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0.18"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/358238","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/358238/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/792223","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6603","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/agentscope-ai/agentscope","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/agentscope","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-cr24-fv3h-8cjm","tags":["advisory"],"sources":["pysec"]}],"credits":["Eric-f (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-20T14:59:01.314Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6603","url":"https://www.cve.org/CVERecord?id=CVE-2026-6603","licence":"CVE Terms of Use","modified":"2026-04-20T14:59:13.475Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cr24-fv3h-8cjm","url":"https://github.com/advisories/GHSA-cr24-fv3h-8cjm","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:23.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6603","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6603","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2331","url":"https://osv.dev/vulnerability/PYSEC-2026-2331","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:27.894Z"}],"updatedAt":"2026-11-25T22:59:19.018Z","epss":{"score":0.00316,"percentile":0.26494,"date":"2026-12-01T12:00:22.000Z"}}