CVE-2026-6603
JSON

6.9medium

modelscope agentscope _python.py execute_shell_command code injection

Severity
6.9medium CVSS:4.0 by VulDB
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-cr24-fv3h-8cjmPYSEC-2026-2331

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

Product or packageVersionsReported by
modelscope agentscope1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7 and 11 moreCVE List
agentscope (PyPI)up to 1.0.18GitHub Advisory Database, PyPA Advisory Database

All scores

VulDB6.9medium CVSS:4.0CVSS: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
VulDB7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
GitHub7.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS: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
PyPA Advisory Database7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

Classification

CWE-74CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-6603 changed 2026-04-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-cr24-fv3h-8cjm changed 2026-07-13CC-BY-4.0
NVDCVE-2026-6603 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-2331 changed 2026-07-13CC-BY-4.0