CVE-2026-6603CWE-74CWE-94

modelscope agentscope _python.py execute_shell_command code injection

Medium · published April 20, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
43.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00516 · 43.1th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-04-20T04:00Z
EPSS history
Timeline
  • 20 APR 04:00Z
    modelscope agentscope _python.py execute_shell_command code injection
    cvelistv5