Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-8502 EUVD-2025-6906GHSA-9w5h-67gf-xvv8PYSEC-2026-253

Remote Code Execution via Deserialization in modelscope/agentscope

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
modelscope modelscope/agentscope unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI agentscope <= 0.0.6a3 — GHSA-9w5h-67gf-xvv8

References