Browse / Unsafe Model Loading and Supply Chain / CVE-2024-8502
AgentScope Deserialization Vulnerability
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Unsafe deserialisation
- Affected
- agentscope (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.8% chance of exploitation in 30 days
How it works, in short
The RPC agent server calls dill.loads on client-supplied data during agent creation, so a crafted payload executes commands on the server. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8502
- https://github.com/modelscope/agentscope
- https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yaml
- https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb
- https://pypi.org/project/agentscope
Source: GitHub Advisory Database, used under CC BY 4.0.