CVE-2026-6603
modelscope agentscope _python.py execute_shell_command code injection
- State
- Published
- Severity
- 6.9 Medium
- Published
- Apr 20, 2026
- Updated
- Apr 20, 2026
- Reserved
- Apr 19, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 |
| 3.1 | 7.3 High | 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 |
| 3.0 | 7.3 High | 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 |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
agentscopemodelscope |
|
References
- VDB-358238 | modelscope agentscope _python.py execute_shell_command code injectionvdb-entrytechnical-description
- VDB-358238 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #792223 | AgentScope <= 1.0.18 Code Injection (CWE-94)third-party-advisory
- https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6eexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.