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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| modelscope | modelscope/agentscope | unspecified – ≤ latest | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | agentscope | <= 0.0.4 | — | GHSA-f4hc-q562-cc5r |