CVE-2024-8524: AgentScope directory traversal vulnerability in /read-examples
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.
Published Mar 20, 2025 · Updated Jun 5, 2026
Affected packages
agentscope
- Ecosystem
- PyPI
- Affected
- <= 0.0.4
- Fixed in
- No patched version yet
- Check
pip show agentscope
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8524
- https://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f
- 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
- https://github.com/advisories/GHSA-6v28-q95m-93qr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-6603
AgentScope Vulnerable to Remote Code Injection
medium7.3No fixApr 20, 2026CVE-2026-6604
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2026-6605
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2026-6606
AgentScope vulnerable to Server-Side Request Forgery
medium7.3No fixApr 20, 2026CVE-2024-8438
AgentScope Path Traversal in /api/file
high7.5No fixMar 20, 2025CVE-2024-8487
AgentScope Cross-Origin Resource Sharing (CORS) vulnerability
high7.4No fixMar 20, 2025
