{"id":"CVE-2024-48050","aliases":["EUVD-2024-3203","GHSA-6p55-qr3j-mpgq","PYSEC-2024-262"],"status":"published","title":"AgentScope uses `eval`","description":"In agentscope \u003c=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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00811,"percentile":0.57261,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94","CWE-95"],"published":"2024-11-04T00:00:00Z","modified":"2026-06-17T07:58:09Z","fixes":[{"ecosystem":"PyPI","package":"agentscope","fixed_in":["0.0.5a1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}],"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","0.1.0"]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.5a1"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4"]}],"products":[{"vendor":"modelscope","product":"agentscope"}],"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":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48050","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope/blob/main/src/agentscope/web/workstation/workflow_utils.py#L11","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6p55-qr3j-mpgq","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-48050","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-04T00:00:00Z","modified":"2024-11-06T21:02:15.321Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:34:11.638716Z"}],"euvd":[{"id":"EUVD-2024-3203","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-04T00:00:00Z","modified":"2024-11-06T21:02:15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:05:08.721426Z"}],"ghsa":[{"id":"GHSA-6p55-qr3j-mpgq","title":"AgentScope uses `eval`","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-05T00:31:28Z","modified":"2024-11-07T17:10:06Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.9,"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","level":"high"}],"cwes":["CWE-94","CWE-95"],"updated_at":"2026-11-02T14:38:16.477822Z"}],"nvd":[{"id":"CVE-2024-48050","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-04T23:15:04.25Z","modified":"2026-06-17T07:58:09.72Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:35.864552Z"}],"osv":[{"id":"GHSA-6p55-qr3j-mpgq","title":"AgentScope uses `eval`","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-05T00:31:28Z","modified":"2026-05-20T08:11:12.81057869Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.9,"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","level":"high"}],"cwes":["CWE-94","CWE-95"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"PYSEC-2024-262","description":"In agentscope \u003c=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.","status":"published","published":"2024-11-04T23:15:04.25Z","modified":"2026-06-10T17:00:07.207783608Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
