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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| modelscope agentscope | up to 0.0.4 | CVE List, NVD |
| agentscope (PyPI) | up to 0.1.0, before 0.0.5a1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS: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 Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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 <=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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-48050 changed 2024-11-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6p55-qr3j-mpgq changed 2026-05-20 | CC-BY-4.0 |
| NVD | CVE-2024-48050 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-262 changed 2026-06-10 | CC-BY-4.0 |