CVE-2024-8438: AgentScope Path Traversal in /api/file
A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint /api/file does not properly sanitize the path parameter, allowing an attacker to read arbitrary files on the server.
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 path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint /api/file does not properly sanitize the path parameter, allowing an attacker to read arbitrary files on the server.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8438
- https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974
- https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578
- https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml
- https://github.com/advisories/GHSA-f4hc-q562-cc5r
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-8487
AgentScope Cross-Origin Resource Sharing (CORS) vulnerability
high7.4No fixMar 20, 2025CVE-2024-8501
AgentScope arbitrary file download vulnerability in rpc_agent_client
high7.5No fixMar 20, 2025
