CVE-2024-48050 json
AgentScope uses `eval`
published 2024-11-04 2 y ago modified 2026-06-17 4 mo ago also GHSA-6p55-qr3j-mpgq , PYSEC-2024-262 , EUVD-2024-3203
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi agentscope 0.0.5a1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rumbling-slice-eb0.notion.site https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | agentscope | <=0.1.0 <0.0.5a1 |
0.0.5a1 |
Affected products
- modelscope agentscope
Classification
References
-
rumbling-slice-eb0.notion.site
/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c5
web, exploit, third-party-advisory, evidence
-
gist.github.com
/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d
web, exploit, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-48050
advisory
-
github.com
/modelscope/agentscope
package
-
github.com
/modelscope/agentscope/blob/main/src/agentscope/web/workstation/workflow_utils.py#L11
web
-
github.com
/advisories/GHSA-6p55-qr3j-mpgq
advisory
Sources
- CVE List CVE-2024-48050
- GitHub Advisory GHSA-6p55-qr3j-mpgq
- NVD CVE-2024-48050
- OSV PYSEC-2024-262
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.