CVE-2024-48050
JSON

9.8critical

AgentScope uses `eval`

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.19% (higher than 68% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-6p55-qr3j-mpgqPYSEC-2024-262

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
modelscope agentscopeup to 0.0.4CVE List, NVD
agentscope (PyPI)up to 0.1.0, before 0.0.5a1GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS: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
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-95

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

En agentscope &lt;=v0.0.4, el archivo agentscope\web\workstation\workflow_utils.py tiene la función is_callable_expression. Dentro de esta función, la línea result = eval(s) plantea un riesgo de seguridad, ya que puede ejecutar directamente comandos proporcionados por el usuario.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-48050 changed 2024-11-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-6p55-qr3j-mpgq changed 2026-05-20CC-BY-4.0
NVDCVE-2024-48050 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-262 changed 2026-06-10CC-BY-4.0