CVE-2026-6603
published medium CVSS 4.0 · 6.9modelscope agentscope _python.py execute_shell_command code injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 · 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 | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| modelscope | agentscope | 1.0.0 (affected)1.0.1 (affected)1.0.2 (affected)1.0.3 (affected)1.0.4 (affected)1.0.5 (affected)1.0.6 (affected)1.0.7 (affected)1.0.8 (affected)1.0.9 (affected)1.0.10 (affected)1.0.11 (affected)1.0.12 (affected)1.0.13 (affected)1.0.14 (affected)1.0.15 (affected)1.0.16 (affected)1.0.17 (affected)1.0.18 (affected) | VulDB · cna |
Weaknesses
2- CWE-94 Code Injection
- CWE-74 Injection
References
4- https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e
- Submit #792223 | AgentScope <= 1.0.18 Code Injection (CWE-94) https://vuldb.com/submit/792223
- VDB-358238 | modelscope agentscope _python.py execute_shell_command code injection https://vuldb.com/vuln/358238
- VDB-358238 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/358238/cti
Provider assertions
2VulDB · cna
modelscope agentscope _python.py execute_shell_command code injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce42f8ee9cd62ceaeaf8765c17791a0d8f272cd0cc5fb89b199a827a6ce984cd
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record