Browse / AI Framework and Platform Flaws / CVE-2024-8524
AgentScope directory traversal vulnerability in /read-examples
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Path traversal and file access
- Affected
- agentscope (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.2% chance of exploitation in 30 days
How it works, in short
A crafted POST to the read-examples endpoint uses directory traversal to read any local JSON file on the server. (Our summary, written by a model. The source text is below.)
Details
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://github.com/modelscope/agentscope
- 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://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f
Source: GitHub Advisory Database, used under CC BY 4.0.