{"id":"CVE-2024-8502","aliases":["CVE-2024-8502","GHSA-9w5h-67gf-xvv8","PYSEC-2026-253"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution via Deserialization in modelscope/agentscope","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en la clase RpcAgentServerLauncher de modelscope/agentscope v0.0.6a3 permite la ejecución remota de código (RCE) mediante la deserialización de datos no confiables mediante la librería dill. El problema se produce en el método AgentServerServicer.create_agent, donde la entrada serializada se deserializa mediante dill.loads, lo que permite a un atacante ejecutar comandos arbitrarios en el servidor.","source":"nvd"}],"published":"2025-03-20T10:09:38.825Z","modified":"2026-10-26T21:15:03.672Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"modelscope","product":"modelscope/agentscope","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.0.6a3"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.0.6a3"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/7a42da2a-2ae5-442d-aff9-c9a3b47870eb","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8502","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-253.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/agentscope","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-9w5h-67gf-xvv8","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-03-20T17:51:24.411Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8502","url":"https://www.cve.org/CVERecord?id=CVE-2024-8502","licence":"CVE Terms of Use","modified":"2025-03-20T18:36:22.032Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9w5h-67gf-xvv8","url":"https://github.com/advisories/GHSA-9w5h-67gf-xvv8","licence":"CC-BY-4.0","modified":"2026-10-26T21:15:03.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8502","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8502","licence":"Public domain","modified":"2026-06-17T08:22:45.107Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-253","url":"https://osv.dev/vulnerability/PYSEC-2026-253","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:47.620Z"}],"updatedAt":"2026-11-25T22:58:52.396Z","epss":{"score":0.01844,"percentile":0.79647,"date":"2026-12-01T12:00:22.000Z"}}