Security Digest · Vulnerability record

CVE-2024-8502: AgentScope Deserialization Vulnerability

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.

CVSS 9.8 Critical EPSS 1.8% · p79

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 1.8%, percentile 79: FIRST’s model estimates a 1.8% chance of exploitation activity in the next 30 days, higher than 79% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes agentscope (PyPI) <= 0.0.6a3, no fixed version listed. Check your lockfile, including transitive dependencies.

What it is

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.createagent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.

From the GitHub advisory

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.createagent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.

Weakness type: CWE-502.

Product: agentscope (PyPI) · Assigned by: @huntr_ai · Published: 2025-03-20

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPIagentscope<= 0.0.6a3none listed
VendorProductAffected versions (per CVE record)
modelscopemodelscope/agentscopeunspecified <= latest

Severity scores

Scored byCVSSScoreVector
@huntr_ai3.09.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub3.19.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: unchanged

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 1.84% probability of exploitation activity in the next 30 days; percentile 79.

Timeline

  • — CVE record last updated
  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-9w5h-67gf-xvv8 published (critical)

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-9w5h-67gf-xvv8 github.com
  2. CVE.org record CVE-2024-8502 cve.org
  3. NVD entry CVE-2024-8502 nvd.nist.gov

Other references from the CVE record and advisory

  1. huntr.com huntr.com

Critical PyPI advisories · Today’s Security Digest