high7.5
CVE-2024-8524
AgentScope directory traversal vulnerability in /read-examples
Impact
A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | agentscope | <= 0.0.4 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Modelscope | Agentscope | Version 0.0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f
- https://github.com/advisories/GHSA-6v28-q95m-93qr
- https://nvd.nist.gov/vuln/detail/CVE-2024-8524
- https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L642
- https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-83.yaml