{"id":"CVE-2026-6603","published":"2026-04-20T04:00:20Z","modified":"2026-04-20T14:59:13Z","title":"modelscope agentscope _python.py execute_shell_command code injection","vendor":"modelscope","product":"agentscope","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.38704,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://vuldb.com/vuln/358238","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/358238/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/792223","tags":["third-party-advisory"]},{"url":"https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e","tags":["exploit"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":7.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"modelscope","affectedVersions":[{"vendor":"modelscope","product":"agentscope","versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-20T14:59:01.314563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"agentscope","vulnerableRanges":["<=1.0.18"],"patched":[],"from":["GHSA-cr24-fv3h-8cjm","PYSEC-2026-2331"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-23770","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e"]}