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

CVE-2024-8502Remote Code Execution via Deserialization in modelscope/agentscope

Critical 9.8

In plain English

A critical-severity unsafe deserialization in modelscope/agentscope from modelscope. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities).

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)1.8%top 20.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIagentscopeno fix listedGHSA-9w5h-67gf-xvv8
PyPIagentscopeno fix listedPYSEC-2026-253

Affected products (as reported)

VendorProductVersions
modelscope modelscope/agentscope unspecified – through latest

Weakness: CWE-502 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References