CRITICAL9.8
PYSEC-2026-253
AgentScope Deserialization Vulnerability
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/agentscope
Introduced in:
0No fixed version published yet for agentscope (pip). Pin to a known-safe version or switch to an alternative.