AgentScope directory traversal vulnerability in /read-examples
Date: 2025-03
Affected: pip/agentscope
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-8438
CVE-2024-8524
CWE: CWE-22
CWE-73
CVSS: 7.5 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.


Mitigations:

Architectural layers (MAESTRO):