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 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | agentscope | <= 1.0.18 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6603
- https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e
- https://github.com/agentscope-ai/agentscope
- https://vuldb.com/submit/792223
- https://vuldb.com/vuln/358238
- https://vuldb.com/vuln/358238/cti
- https://pypi.org/project/agentscope
- https://github.com/advisories/GHSA-cr24-fv3h-8cjm
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-74- Platform
- Python (PyPI)
- Package
agentscope- Disclosed
- 20.04.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2331 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cr24-fv3h-8cjm - CC BY 4.0
Vulnerability history: agentscope
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 11.2024 04.2026
- Without a fix
- 13
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 4
- Medium 5
Disclosures per year
- 2024: 1
- 2025: 9
- 2026: 4
-
AgentScope Vulnerable to Remote Code Injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.