Remote Code Execution via Deserialization in modelscope/agentscope
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| modelscope | modelscope/agentscope | up to latest | — | No fix listed | CNA |
| — | agentscope (PyPI) | up to 0.0.6a3 | — | No fix listed | GHSA-9w5h-67gf-xvv8 |
- modelscope/agentscope Vendormodelscope Affected up to latest Fixed in — No fix listed CNA
- agentscope (PyPI) Vendor— Affected up to 0.0.6a3 Fixed in — No fix listed GHSA-9w5h-67gf-xvv8
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:* | — | — | modelscope |
- cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:* Versions — — ·modelscope
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-8502
- 2026-10-03 Alias added: GHSA-9w5h-67gf-xvv8
References
More modelscope vulnerabilities
- TI-2024-32252 In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the… CVSS 3.1CRITICAL 9.8
- TI-2024-07927 Path Traversal in modelscope/agentscope CVSS 3.1CRITICAL 9.1
- TI-2024-07914 Path Traversal in modelscope/agentscope CVSS 3.0CRITICAL 9.1
- TI-2024-07881 Arbitrary File Download in modelscope/agentscope CVSS 3.1HIGH 8.8
- TI-2024-07869 CORS Vulnerability in modelscope/agentscope CVSS 3.1CRITICAL 9.8
- TI-2026-57897 ModelScope through 1.40.0 Unsafe YAML Deserialization in Model Config Loading CVSS 4.0HIGH 8.7
Sources
- CVE-2024-8502 · CVE Program
- CVE-2024-8502 · NVD
- FIRST EPSS
- GHSA-9w5h-67gf-xvv8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences