CVE-2026-6603
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.
Severity
HIGH
CVSS v3
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R · source cna
CVSS v4
6.9
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 · source cna
Exploit chance (EPSS)
0.316%
chance of exploitation in the next 30 days
higher than 24.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-94: Improper Control of Generation of Code
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-04-20 |
Timeline
- 2026-04-20Published by the CNA04:00 UTC
- 2026-04-20GitHub advisory published (GHSA-cr24-fv3h-8cjm)same day
- 2026-04-20CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-cr24-fv3h-8cjm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI agentscope | through 1.0.18 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| modelscope agentscope | 1.0.0no fix listed1.0.1no fix listed1.0.10no fix listed1.0.11no fix listed1.0.12no fix listed(+14 more) | not listednot listednot listednot listednot listed |
References
- https://gist.github.com/YLChen-007/c084d69aaeda6729f3988603f2b0ce6e
- https://vuldb.com/submit/792223
- https://vuldb.com/vuln/358238
- https://vuldb.com/vuln/358238/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-6603'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-6603'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-6603'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-6603'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).