AgentScope Deserialization Vulnerability
Date: 2025-03
Affected: pip/agentscope
Attack vector: deserialization
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2024-8502
CWE: CWE-502
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):