{ "schema_version": "1.4.0", "id": "GHSA-f4hc-q562-cc5r", "modified": "2025-03-20T20:50:09Z", "published": "2025-03-20T12:32:48Z", "aliases": [ "CVE-2024-8438" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "agentscope" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "0.0.4" } ] } ] } ], "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://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974" } ], "database_specific": { "cwe_ids": [ "CWE-22" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-03-20T20:50:09Z", "nvd_published_at": "2025-03-20T10:15:42Z" } }