CVE-2026-6603 modelscope agentscope _python.py execute_shell_command code injection
MediumCVSS 6.9
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi agentscope(PyPI) | <= 1.0.18; = 0.0.1; = 0.0.2; = 0.0.3 +34 more | after 1.0.18 | Fixed |
| modelscope agentscope | = 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3 +15 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi agentscope(PyPI) | <= 1.0.18 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.2 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.3 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.4 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.5 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.5a1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.6a1 | No fix listed |
| pypi agentscope(PyPI) | = 0.0.6a2 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.0 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.1 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.3 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.3.dev0 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.4 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.5 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.5.dev0 | No fix listed |
| pypi agentscope(PyPI) | = 0.1.6 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.0 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.1 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.10 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.11 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.12 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.13 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.14 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.15 | No fix listed |
Show 32 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi agentscope(PyPI) | = 1.0.16 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.16.dev0 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.17 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.18 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.2 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.3 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.4 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.5 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.6 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.7 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.8 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.9 | No fix listed |
| pypi agentscope(PyPI) | = 1.0.9.dev0 | No fix listed |
| modelscope agentscope | = 1.0.0 | No fix listed |
| modelscope agentscope | = 1.0.1 | No fix listed |
| modelscope agentscope | = 1.0.2 | No fix listed |
| modelscope agentscope | = 1.0.3 | No fix listed |
| modelscope agentscope | = 1.0.4 | No fix listed |
| modelscope agentscope | = 1.0.5 | No fix listed |
| modelscope agentscope | = 1.0.6 | No fix listed |
| modelscope agentscope | = 1.0.7 | No fix listed |
| modelscope agentscope | = 1.0.8 | No fix listed |
| modelscope agentscope | = 1.0.9 | No fix listed |
| modelscope agentscope | = 1.0.10 | No fix listed |
| modelscope agentscope | = 1.0.11 | No fix listed |
| modelscope agentscope | = 1.0.12 | No fix listed |
| modelscope agentscope | = 1.0.13 | No fix listed |
| modelscope agentscope | = 1.0.14 | No fix listed |
| modelscope agentscope | = 1.0.15 | No fix listed |
| modelscope agentscope | = 1.0.16 | No fix listed |
| modelscope agentscope | = 1.0.17 | No fix listed |
| modelscope agentscope | = 1.0.18 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- gist.github.com exploit
- github.com product
- Submit #792223 | AgentScope <= 1.0.18 Code Injection (CWE-94) third-party-advisory
- VDB-358238 | modelscope agentscope _python.py execute_shell_command code injection technical-description vdb-entry
- VDB-358238 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- pypi.org product
- github.com vendor-advisory