GHSA-6p55-qr3j-mpgqHighCVSS 9.8

AgentScope uses `eval`

Published
November 5, 2024
Last Modified
November 7, 2024

🔗 CVE IDs covered (1)

📋 Description

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 products1

  • pip/agentscope:<= 0.1.0

🔗 References (5)