CVE-2024-48050Modelscope Agentscope
Critical 9.8 No auth needed
Follow: this CVE · Modelscope · Modelscope Agentscope We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Nov 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Agentscope.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | agentscope |
≤ 0.1.0 |
no fixed version | — |
| PyPI | agentscope |
< 0.0.5a1 |
0.0.5a1 |
pip install "agentscope>=0.0.5a1" |
Per OSV / GitHub Advisories (GHSA-6p55-qr3j-mpgq, PYSEC-2024-262). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| modelscope | agentscope | ≤ 0.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- rumbling-slice-eb0.notion.site Exploit Third Party Advisory