# CVE-2026-6603: PYSEC-2026-2331 - AgentScope Vulnerable to Remote Code Injection

Source: https://junglewise.ai/threats/cve-2026-6603-agentscope-vulnerable-to-remote-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-20  
License: CC BY 4.0 with a link back

CVE-2026-6603 · Severity: high · CVSS 7.3 · Published 2026-04-20

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.

Technologies: [agentscope (PyPI)](https://junglewise.ai/threats/technologies/agentscope). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-6603 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6603 being exploited in the wild.

**How severe is CVE-2026-6603?** High severity, with a CVSS score of 7.3, published 20 April 2026.

**Which products and versions are affected?** agentscope (PyPI) ECOSYSTEM:introduced=0,last_affected=1.0.18.

**Is there a fix for CVE-2026-6603?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-6603?** Check whether you run agentscope (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- agentscope (PyPI) ECOSYSTEM:introduced=0,last_affected=1.0.18

## Identifiers

- CVE-2026-6603
- GHSA-cr24-fv3h-8cjm
- PYSEC-2026-2331

## Related threats

- [PYSEC-2026-1076 - AgentScope stored cross-site scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2024-8556-agentscope-stored-cross-site-scripting-xss-vulnerability)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6606-agentscope-vulnerable-to-server-side-request-forgery)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6605-agentscope-vulnerable-to-server-side-request-forgery)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6604-agentscope-vulnerable-to-server-side-request-forgery)
- [ModelScope AgentScope CORS vulnerability in API server](https://junglewise.ai/threats/cve-2024-8487-modelscope-agentscope-cors-vulnerability-in-api-server)
