Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-8502Remote Code Execution via Deserialization in modelscope/agentscope
Critical 9.8
In plain English
A critical-severity unsafe deserialization in modelscope/agentscope from modelscope. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | agentscope | no fix listed | GHSA-9w5h-67gf-xvv8 |
| PyPI | agentscope | no fix listed | PYSEC-2026-253 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| modelscope | modelscope/agentscope | unspecified – through latest |
Weakness: CWE-502 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H