{"id":"CVE-2024-8438","published":"2025-03-20T10:09:49Z","modified":"2025-03-20T18:34:01Z","title":"Path Traversal in modelscope/agentscope","vendor":"modelscope","product":"modelscope/agentscope","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00772,"percentile":0.56596,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":11.32},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"modelscope","affectedVersions":[{"vendor":"modelscope","product":"modelscope/agentscope","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-20T17:52:54.370776Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"agentscope","vulnerableRanges":["<=0.0.4"],"patched":[],"from":["GHSA-f4hc-q562-cc5r","PYSEC-2025-80"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-6904","exploited":false,"provenance":"source"}}