id: PYSEC-2026-253 published: "2026-06-29T11:50:35.291980Z" modified: "2026-07-01T20:22:47.620233Z" aliases: - CVE-2024-8502 - GHSA-9w5h-67gf-xvv8 summary: 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. affected: - package: name: agentscope ecosystem: PyPI purl: pkg:pypi/agentscope ranges: - type: ECOSYSTEM events: - introduced: "0" - last_affected: 0.0.6a3 versions: - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 - 0.0.5 - 0.0.5a1 - 0.0.6a1 - 0.0.6a2 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2024-8502 - type: PACKAGE url: https://github.com/modelscope/agentscope - type: WEB url: https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb - type: PACKAGE url: https://pypi.org/project/agentscope - type: ADVISORY url: https://github.com/advisories/GHSA-9w5h-67gf-xvv8 severity: - type: CVSS_V3 score: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H