CVE-2026-6603: AgentScope Vulnerable to Remote Code Injection
A vulnerability was determined in modelscope agentscope up to 1.0.18. Affected by this vulnerability is the function executepythoncode/executeshellcommand 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.
Published Apr 20, 2026 · Updated Apr 30, 2026
Affected packages
agentscope
- Ecosystem
- PyPI
- Affected
- <= 1.0.18
- Fixed in
- No patched version yet
- Check
pip show agentscope
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-6604
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2026-6605
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2026-6606
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2024-8438
AgentScope Path Traversal in /api/file
high7.5No fixMar 20, 2025CVE-2024-8487
AgentScope Cross-Origin Resource Sharing (CORS) vulnerability
high7.4No fixMar 20, 2025CVE-2024-8501
AgentScope arbitrary file download vulnerability in rpc_agent_client
high7.5No fixMar 20, 2025
