{"id":"CVE-2024-8438","aliases":["EUVD-2025-6904","GHSA-f4hc-q562-cc5r","PYSEC-2025-80"],"status":"published","title":"Path Traversal in modelscope/agentscope","description":"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.","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.00772,"percentile":0.55954,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2025-03-20T10:09:49Z","modified":"2026-06-17T08:22:34Z","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/3f170c58-42ee-422d-ab6f-32c7aa05b974","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8438","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f4hc-q562-cc5r","tags":["advisory"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-8438","title":"Path Traversal in modelscope/agentscope","description":"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.","status":"published","published":"2025-03-20T10:09:49.971Z","modified":"2025-03-20T18:34:01.364Z","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.216761Z"}],"euvd":[{"id":"EUVD-2025-6904","description":"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.","status":"published","published":"2025-03-20T10:09:49Z","modified":"2025-03-20T18:34:01Z","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:52:57.377828Z"}],"ghsa":[{"id":"GHSA-f4hc-q562-cc5r","title":"AgentScope Path Traversal in /api/file","description":"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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-06-05T14:13:44Z","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"],"updated_at":"2026-11-02T14:40:16.698699Z"}],"nvd":[{"id":"CVE-2024-8438","description":"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.","status":"published","published":"2025-03-20T10:15:42.24Z","modified":"2026-06-17T08:22:34.667Z","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":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"GHSA-f4hc-q562-cc5r","title":"AgentScope Path Traversal in /api/file","description":"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.","status":"published","published":"2025-03-20T12:32:48Z","modified":"2026-06-05T14:30:14.134677153Z","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"],"updated_at":"2026-11-02T15:46:46.006631Z"},{"id":"PYSEC-2025-80","description":"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.","status":"published","published":"2025-03-20T10:15:42.24Z","modified":"2026-06-10T17:00:08.699206014Z","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-02T15:52:54.242332Z"}]}}
