Vulnerability · Published Apr 20, 2026 · Assigned by VulDB

CVE-2026-6603modelscope agentscope _python.py execute_shell_command code injection

High 7.3

In plain English

A high-severity code injection in agentscope from modelscope. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 75.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIagentscopeno fix listedGHSA-cr24-fv3h-8cjm
PyPIagentscopeno fix listedPYSEC-2026-2331

Affected products (as reported)

VendorProductVersions
modelscope agentscope 1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.7

Weakness: CWE-94, CWE-74 · 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

References