{"id":"CVE-2024-8502","aliases":["EUVD-2025-6906","GHSA-9w5h-67gf-xvv8","PYSEC-2026-253"],"status":"published","title":"Remote Code Execution via Deserialization in modelscope/agentscope","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01844,"percentile":0.79204,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-502"],"published":"2025-03-20T10:09:38Z","modified":"2026-10-26T21:15:03Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6a3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6a3"}]}],"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"]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.6a3"}]}],"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"]}],"products":[{"vendor":"modelscope","product":"modelscope/agentscope"}],"references":[{"url":"https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8502","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yaml","tags":["web"]},{"url":"https://pypi.org/project/agentscope","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-9w5h-67gf-xvv8","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-8502","title":"Remote Code Execution via Deserialization in modelscope/agentscope","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.","status":"published","published":"2025-03-20T10:09:38.825Z","modified":"2025-03-20T18:36:22.032Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:34:08.843708Z"}],"euvd":[{"id":"EUVD-2025-6906","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.","status":"published","published":"2025-03-20T10:09:38Z","modified":"2025-03-20T18:36:22Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:57.377828Z"}],"ghsa":[{"id":"GHSA-9w5h-67gf-xvv8","title":"AgentScope Deserialization Vulnerability","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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-10-26T20:55:27Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:41:36.858527Z"}],"nvd":[{"id":"CVE-2024-8502","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.","status":"published","published":"2025-03-20T10:15:42.733Z","modified":"2026-06-17T08:22:45.107Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"GHSA-9w5h-67gf-xvv8","title":"AgentScope Deserialization Vulnerability","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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-10-26T21:15:03.672858905Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"PYSEC-2026-253","title":"AgentScope Deserialization Vulnerability","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.","status":"published","published":"2026-06-29T11:50:35.29198Z","modified":"2026-07-01T20:22:47.620233Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:55.961245Z"}]}}
