---
title: "CVE-2024-8502: AgentScope Deserialization Vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-8502/
description: "CVE-2024-8502 (agentscope (PyPI)): A vulnerability in the RpcAgentServerLauncher class of modelscope/agentscope v0.0.6a3 allows for remote code execution…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-03-20
date_modified: 2025-03-20
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-8502"
kev: false
cvss: 9.8
epss: 0.01844
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-8502: AgentScope Deserialization Vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- 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.

## Affected packages

- PyPI `agentscope` <= 0.0.6a3 → fixed: none listed

## Affected products (CVE record)

- modelscope modelscope/agentscope: unspecified <= latest

## Severity

- @huntr_ai CVSS 3.0: 9.8 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- 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.

## Sources

- [GitHub Advisory GHSA-9w5h-67gf-xvv8](https://github.com/advisories/GHSA-9w5h-67gf-xvv8)
- [CVE.org record CVE-2024-8502](https://www.cve.org/CVERecord?id=CVE-2024-8502)
- [NVD entry CVE-2024-8502](https://nvd.nist.gov/vuln/detail/CVE-2024-8502)
- [huntr.com](https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb)

---
Source page: https://erroneo.us/security/cve/CVE-2024-8502/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
