CVE-2026-6603 MEDIUM

CVE-2026-6603: modelscope agentscope _python.py execute_shell_command code injection

Vendor Modelscope
Product agentscope
Weakness CWE-94 · Code injection
Published April 20, 2026
Last update April 20, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

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.

Key dates

Disclosure timeline

April 20, 2026 CVE published
April 20, 2026 Record updated