{"id":"GHSA-f4hc-q562-cc5r","summary":"AgentScope Path Traversal in /api/file","details":"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.","aliases":["CVE-2024-8438","PYSEC-2025-80"],"modified":"2026-06-05T14:30:14.134677153Z","published":"2025-03-20T12:32:48Z","database_specific":{"github_reviewed_at":"2025-03-20T20:50:09Z","nvd_published_at":"2025-03-20T10:15:42Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8438"},{"type":"PACKAGE","url":"https://github.com/modelscope/agentscope"},{"type":"WEB","url":"https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974"}],"affected":[{"package":{"name":"agentscope","ecosystem":"PyPI","purl":"pkg:pypi/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f4hc-q562-cc5r/GHSA-f4hc-q562-cc5r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}