AgentScope Deserialization Vulnerability
CVE-2024-8502 · GHSA-9w5h-67gf-xvv8 · published 2025-03-20 · updated 2026-10-26
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 1.8%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
A vulnerability in the RpcAgentServerLauncher class of modelscope/agentscope v0.0.6a3 allows for remote code execution (RCE) via deserialization of untrusted data using the dill library. The issue occurs in the AgentServerServicer.create_agent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.
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
- Unsafe deserialization. Do not let it load files, models or data from sources you do not trust, and keep its RPC and socket ports reachable only from localhost or hosts you trust.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| agentscope | PyPI | <= 0.0.6a3 | No fix yet |
- CriticalLMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.pylmdeploy
- CriticalLMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploylmdeploy
- CriticalSGLang: Unauthenticated RCE via --enable-custom-logit-processorsglang
- CriticalSGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socketsglang
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
- 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
- HighAgentScope arbitrary file download vulnerability in rpc_agent_clientagentscope
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.