9.8critical
Remote Code Execution via Deserialization in modelscope/agentscope
- Severity
- 9.8critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.84% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-9w5h-67gf-xvv8PYSEC-2026-253
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
| Product or package | Versions | Reported by |
|---|---|---|
| modelscope modelscope/agentscope | from unspecified up to latest | CVE List |
| agentscope (PyPI) | up to 0.0.6a3 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| @huntr_ai | 9.8critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.8critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad en la clase RpcAgentServerLauncher de modelscope/agentscope v0.0.6a3 permite la ejecución remota de código (RCE) mediante la deserialización de datos no confiables mediante la librería dill. El problema se produce en el método AgentServerServicer.create_agent, donde la entrada serializada se deserializa mediante dill.loads, lo que permite a un atacante ejecutar comandos arbitrarios en el servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-8502 changed 2025-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9w5h-67gf-xvv8 changed 2026-10-26 | CC-BY-4.0 |
| NVD | CVE-2024-8502 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-253 changed 2026-07-01 | CC-BY-4.0 |