CRITICAL🇵🇱 Wersja polska

CVE-2024-8551

CVSS 9.1v3.1pub. 2025-03-20upd. 2025-08-01

A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope versions prior to the fix. This vulnerability allows an attacker to read and write arbitrary JSON files on the filesystem, potentially leading to the exposure or modification of sensitive information such as configuration files, API keys, and hardcoded passwords.

🤖 AI Analysis
How it works

The vulnerability (CWE-23) results from improper validation of file paths passed to workflow save and load functions (save-workflow, load-workflow). An attacker can craft a request containing path traversal sequences (e.g., '../'), which allow them to escape the intended working directory. This enables access to any JSON files on the server file system without requiring authentication.

Impact

An attacker can read sensitive JSON files containing API keys, hardcoded passwords and configuration files, as well as overwrite them with their own content, modifying application behavior or gaining further access to the system.

Mitigation & patch

Apply patches available from the vendor according to references (https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989). Until updates are applied, it is recommended to restrict network access to save-workflow and load-workflow interfaces and monitor logs for suspicious requests containing path traversal sequences.

Who is affected

Modelscope AgentScope — versions prior to the vendor's patch (according to vendor references).

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Modelscope Agentscope

    APP
    Modelscope
    all versions
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Path Traversal
CWE
References

Related vulnerabilities

CVE-2024-8487CRITICAL9.8PL ✓same product

Błędna konfiguracja CORS w Modelscope AgentScope umożliwia nieautoryzowany dostęp do API

CVE-2024-8537CRITICAL9.1PL ✓same product

Path traversal umożliwiający usunięcie dowolnych plików w AgentScope

CVE-2024-48050CRITICAL9.8PL ✓same product

RCE przez niezabezpieczone eval() w Modelscope AgentScope

CVE-2024-8524HIGH7.5same product

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit thi...

CVE-2024-8438HIGH7.5same product

A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint `/api/file` d...