{"id":"CVE-2024-8524","aliases":["EUVD-2025-6908","GHSA-6v28-q95m-93qr","PYSEC-2025-83"],"status":"published","title":"Directory Traversal in modelscope/agentscope","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01186,"percentile":0.68068,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22","CWE-73"],"published":"2025-03-20T10:11:18Z","modified":"2026-06-17T08:22:47Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.4"}]}]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.4"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4"]},{"source":"osv","ecosystem":"PyPI","package":"agentscope","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.4"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4"]}],"products":[{"vendor":"modelscope","product":"agentscope"},{"vendor":"modelscope","product":"modelscope/agentscope"}],"references":[{"url":"https://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f","tags":["exploit","Exploit","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8524","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L642","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-83.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6v28-q95m-93qr","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-8524","title":"Directory Traversal in modelscope/agentscope","description":"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.","status":"published","published":"2025-03-20T10:11:18.458Z","modified":"2025-10-15T12:50:40.766Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:09.540667Z"}],"euvd":[{"id":"EUVD-2025-6908","description":"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.","status":"published","published":"2025-03-20T10:11:18Z","modified":"2025-10-15T12:50:40Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T20:31:31.584227Z"}],"ghsa":[{"id":"GHSA-6v28-q95m-93qr","title":"AgentScope directory traversal vulnerability in /read-examples","description":"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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-06-05T14:14:13Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22","CWE-73"],"updated_at":"2026-11-02T14:40:16.698699Z"}],"nvd":[{"id":"CVE-2024-8524","description":"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.","status":"published","published":"2025-03-20T10:15:42.853Z","modified":"2026-06-17T08:22:47.52Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"GHSA-6v28-q95m-93qr","title":"AgentScope directory traversal vulnerability in /read-examples","description":"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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-06-05T14:30:13.778483464Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22","CWE-73"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"PYSEC-2025-83","description":"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.","status":"published","published":"2025-03-20T10:15:42.853Z","modified":"2026-06-10T17:00:08.928792773Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
