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.
{
"severity": "HIGH",
"github_reviewed_at": "2025-03-20T20:50:47Z",
"cwe_ids": [
"CWE-22",
"CWE-73"
],
"nvd_published_at": "2025-03-20T10:15:42Z",
"github_reviewed": true
}