{"id":"CVE-2024-48050","aliases":["CVE-2024-48050","GHSA-6p55-qr3j-mpgq","PYSEC-2024-262"],"related":[],"kind":"vulnerability","state":"published","title":"AgentScope uses `eval`","summary":"In agentscope <=v0.0.4, the file agentscope\\web\\workstation\\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In agentscope <=v0.0.4, the file agentscope\\web\\workstation\\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.","source":"cvelist"},{"lang":"en","text":"In agentscope <=v0.0.4, the file `agentscope\\web\\workstation\\workflow_utils.py` has the function `is_callable_expression`. Within this function, the line `result = eval(s)` poses a security risk as it can directly execute user-provided commands.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En agentscope &lt;=v0.0.4, el archivo agentscope\\web\\workstation\\workflow_utils.py tiene la función is_callable_expression. Dentro de esta función, la línea result = eval(s) plantea un riesgo de seguridad, ya que puede ejecutar directamente comandos proporcionados por el usuario.","source":"nvd"}],"published":"2024-11-04T00:00:00.000Z","modified":"2026-06-17T07:58:09.720Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/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.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94","CWE-95"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.0.4","status":"affected"}],"vendor":"modelscope","product":"agentscope","cpe":"cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1.0"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.0.4"}],"vendor":"modelscope","product":"agentscope","cpe":"cpe:2.3:a:modelscope:agentscope:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.5a1"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"pysec"}],"references":[{"url":"https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48050","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/modelscope/agentscope/blob/main/src/agentscope/web/workstation/workflow_utils.py#L11","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6p55-qr3j-mpgq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-11-06T21:00:06.356Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48050","url":"https://www.cve.org/CVERecord?id=CVE-2024-48050","licence":"CVE Terms of Use","modified":"2024-11-06T21:02:15.321Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6p55-qr3j-mpgq","url":"https://github.com/advisories/GHSA-6p55-qr3j-mpgq","licence":"CC-BY-4.0","modified":"2026-05-20T08:11:12.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48050","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48050","licence":"Public domain","modified":"2026-06-17T07:58:09.720Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-262","url":"https://osv.dev/vulnerability/PYSEC-2024-262","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:07.207Z"}],"updatedAt":"2026-11-25T22:58:47.727Z","epss":{"score":0.01185,"percentile":0.67755,"date":"2026-11-30T12:00:22.000Z"}}