HIGH7.5
PYSEC-2025-80
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/agentscope
Introduced in:
0No fixed version published yet for agentscope (pip). Pin to a known-safe version or switch to an alternative.