CVE-2024-8502GHSA-9w5h-67gf-xvv8PYSEC-2026-253
AgentScope Deserialization Vulnerability
modelscope agentscopepipLibraries & packages
CVSS
9.8CriticalExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 20 Mar 2025. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)1.84%Chance of exploitation activity in the next 30 days, higher than 78% of CVEs. Scored 26 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 11
- agentscope, pip<= 0.0.6a3GitHub
- modelscope/agentscopeaffected: unspecified through latestCVE List
- agentscope, PyPIfrom first release, through 0.0.6a3OSV
- agentscope, PyPI0.0.1OSV
- agentscope, PyPI0.0.2OSV
- agentscope, PyPI0.0.3OSV
- agentscope, PyPI0.0.4OSV
- agentscope, PyPI0.0.5OSV
- agentscope, PyPI0.0.5a1OSV
- agentscope, PyPI0.0.6a1OSV
- agentscope, PyPI0.0.6a2OSV
References 5
- github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-9w5h-67gf-xvv8Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2024-8502Referencevia GitHub
- huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870ebReferencevia CVE List
- pypi.org/project/agentscopeReferencevia GitHub