Skip to content
OpenAdvisories
High · 7.3 CVE-2026-6603 EUVD-2026-23770GHSA-cr24-fv3h-8cjmPYSEC-2026-2331

modelscope agentscope _python.py execute_shell_command code injection

Published Apr 20, 2026 · Updated Apr 20, 2026 · Assigned by VulDB

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 products

VendorProductAffectedFixed
modelscope agentscope 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, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI agentscope <= 1.0.18 — GHSA-cr24-fv3h-8cjm

References