NetSight
critical9.8

CVE-2024-48050

AgentScope uses `eval`

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipagentscope<= 0.1.0none recorded

Affected products

VendorProductAffected versions
ModelscopeAgentscope
through 0.0.4

Weakness classification

References