RCE in Modelscope Agentscope
CVE-2026-6603
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 24.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Modelscope Agentscope — versions 1.0.0, 1.0.1, 1.0.2
Weakness classification (CWE)
References
- VDB-358238 | modelscope agentscope _python.py execute_shell_command code injection (technical-description, vdb-entry)
- VDB-358238 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- Submit #792223 | AgentScope <= 1.0.18 Code Injection (CWE-94) (third-party-advisory)
- gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e (exploit)