AgentScope Vulnerable to Remote Code Injection
CVE-2026-6603 · GHSA-cr24-fv3h-8cjm · published 2026-04-20 · updated 2026-04-30
- Severity
- Medium
- CVSS score
- 7.3
- Chance of exploitation (EPSS)
- 0.32%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
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.
No fixed release is listed yet for agentscope. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| agentscope | PyPI | <= 1.0.18 | No fix yet |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalAgentScope Deserialization Vulnerabilityagentscope
- CriticalAgentScope path traversal vulnerabilityagentscope
- CriticalAgentScope path traversal vulnerability in save-workflowagentscope
- HighAgentScope directory traversal vulnerability in /read-examplesagentscope
- HighAgentScope Cross-Origin Resource Sharing (CORS) vulnerabilityagentscope
- HighAgentScope Path Traversal in /api/fileagentscope
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.