AgentScope path traversal vulnerability
Date: 2025-03
Affected: pip/agentscope
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2024-8537
CVE-2024-8551
CWE: CWE-22
CWE-23
CWE-29
CVSS: 9.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)

A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.


Mitigations:

Architectural layers (MAESTRO):