Skip to content
Heist/ feed
Back to feed
Critical

AgentScope Deserialization Vulnerability

Type: advisorySources: OSV

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.

Products
agentscope
Affected 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
Fixed versions
Not specified
CVEs
CVE-2024-8502
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:51 UTC · Revision 1

Source evidence

AgentScope Deserialization Vulnerability

core-osv · Original source

Published 20 Mar 2025, 12:32 UTC

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.

osv:GHSA-9w5h-67gf-xvv8

agentscope

Fixed versions: Not specified

Complete source record
{
  "id": "97b70ee0bfc8af7fa7f145174d10fd6701587610026b6b3278fb4f94a350d388",
  "url": "https://osv.dev/vulnerability/GHSA-9w5h-67gf-xvv8",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AgentScope Deserialization Vulnerability",
    "summary": "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.",
    "evidence": "osv:GHSA-9w5h-67gf-xvv8",
    "products": [
      {
        "name": {
          "value": "agentscope",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.5a1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.6a1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.6a2",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "GHSA-9w5h-67gf-xvv8",
      "aliases": [
        "CVE-2024-8502",
        "GHSA-9w5h-67gf-xvv8",
        "PYSEC-2026-253"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0.0.6a3"
                }
              ]
            }
          ],
          "package": {
            "name": "agentscope",
            "purl": "pkg:pypi/agentscope",
            "ecosystem": "PyPI"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-9w5h-67gf-xvv8/GHSA-9w5h-67gf-xvv8.json"
          }
        }
      ],
      "modified": "2026-10-26T21:15:03.672858905Z",
      "provider": "osv",
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2024-8502",
        "https://github.com/modelscope/agentscope",
        "https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yaml",
        "https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb",
        "https://pypi.org/project/agentscope"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "severity": "CRITICAL",
        "github_reviewed": true,
        "nvd_published_at": "2025-03-20T10:15:42Z",
        "github_reviewed_at": "2025-03-20T20:51:02Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-8502",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 458978,
  "published_at": "2025-03-20T12:32:48+00:00"
}