Advisory

GHSA-6p55-qr3j-mpgq

Also known as: CVE-2024-48050, PYSEC-2024-262

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-11-05 00:31 UTC
Modified
2026-05-20 08:11 UTC

Affected packages and fixes

agentscope

PyPI · All systems

Affected

  • introduced 0, last affected 0.1.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences