INCIDENT MAP

Browse / Tool and Agent Misuse / CVE-2026-6603

AgentScope Vulnerable to Remote Code Injection

CVE-2026-6603 ยท 2026-04-20 moderate

Class
Tool and Agent Misuse (filed by a model that read the advisory)
Technique
Code and command execution
Affected
agentscope (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

Agent tool functions for executing Python code and shell commands accept injected input, letting a remote caller run arbitrary code. (Our summary, written by a model. The source text is below.)

Details

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

Source: GitHub Advisory Database, used under CC BY 4.0.