Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
modelscope agentscope
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 agentscope 1.0.18及之前版本存在安全漏洞,该漏洞源于对文件src/AgentScope/tool/_coding/_python.py中函数execute_python_code/execute_shell_command的错误操作,可能导致代码注入。

CVSS 7.3 · High EPSS 0.52% · P43
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-6603

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
modelscope agentscope _python.py execute_shell_command code injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
AgentScope 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 agentscope 1.0.18及之前版本存在安全漏洞,该漏洞源于对文件src/AgentScope/tool/_coding/_python.py中函数execute_python_code/execute_shell_command的错误操作,可能导致代码注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
modelscope agentscope 1.0.0 cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-6603

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6603

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-6603 (2)

Other References for CVE-2026-6603 (1)

Same Patch Batch · modelscope · 2026-04-20 · 4 CVEs total

CVE-2026-6606 7.3 HIGH modelscope agentscope _agent_base.py _process_audio_block server-side request forgery
CVE-2026-6605 7.3 HIGH modelscope agentscope Internal Service _common.py _get_bytes_from_web_url server-side requ
CVE-2026-6604 7.3 HIGH modelscope agentscope Cloud Metadata Endpoint _openai_tools.py openai_audio_to_text server

IV. Related Vulnerabilities

V. Comments for CVE-2026-6603

No comments yet


Leave a comment