CVE-2024-8502modelscope/agentscope
Critical 9.8 No auth needed
Follow: this CVE · modelscope · modelscope/agentscope We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for modelscope/agentscope.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | agentscope |
≤ 0.0.6a3 |
no fixed version | — |
| PyPI | agentscope |
≤ 0.0.6a3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9w5h-67gf-xvv8, PYSEC-2026-253). Check the version in your lockfile before upgrading.
Affected products
- modelscope · modelscope/agentscope
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.