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 package | Versions | Reported by |
|---|---|---|
| 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 and 11 more | CVE List |
| agentscope (PyPI) | up to 1.0.18 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 6.9medium CVSS:4.0 | 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 |
| VulDB | 7.3high CVSS:3.1 | 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 |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 7.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | 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 |
| PyPA Advisory Database | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
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
| https://vuldb.com/vuln/358238 | technical-description, vdb-entry, web | |
| https://vuldb.com/vuln/358238/cti | permissions-required, signature, web | |
| https://vuldb.com/submit/792223 | third-party-advisory, web | |
| https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e | exploit, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-6603 | advisory | |
| https://github.com/agentscope-ai/agentscope | package | |
| https://pypi.org/project/agentscope | package | |
| https://github.com/advisories/GHSA-cr24-fv3h-8cjm | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6603 changed 2026-04-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cr24-fv3h-8cjm changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-6603 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2331 changed 2026-07-13 | CC-BY-4.0 |