AgentScope Path Traversal in /api/file
High severity
GitHub Reviewed
Published
Mar 20, 2025
to the GitHub Advisory Database
•
Updated Mar 20, 2025
Description
Published by the National Vulnerability Database
Mar 20, 2025
Published to the GitHub Advisory Database
Mar 20, 2025
Reviewed
Mar 20, 2025
Last updated
Mar 20, 2025
A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint
/api/file
does not properly sanitize thepath
parameter, allowing an attacker to read arbitrary files on the server.References