{"id":"CVE-2024-48050","aliases":["PYSEC-2024-262"],"url":"https://o3.security/vulnerability/CVE-2024-48050","summary":"AgentScope uses `eval`","details":"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.","published":"2024-11-05T00:31:28Z","modified":"2026-05-20T08:11:12.810578690Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00811,"percentile":0.55183,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"agentscope","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48050"},{"type":"WEB","url":"https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d"},{"type":"PACKAGE","url":"https://github.com/modelscope/agentscope"},{"type":"WEB","url":"https://github.com/modelscope/agentscope/blob/main/src/agentscope/web/workstation/workflow_utils.py#L11"},{"type":"WEB","url":"https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-20T08:11:12.810578690Z"}}