AgentScope Vulnerable to Remote Code Injection
Moderate severity
GitHub Reviewed
Published
Apr 20, 2026
to the GitHub Advisory Database
•
Updated Apr 30, 2026
Description
Published by the National Vulnerability Database
Apr 20, 2026
Published to the GitHub Advisory Database
Apr 20, 2026
Last updated
Apr 30, 2026
Reviewed
Apr 30, 2026
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