CVE-2024-8551CWE-23

Path Traversal in modelscope/agentscope

Critical · published March 20, 2025

CVSS v3.0
9.1
EPSS
1%
Percentile
63.1
In the wild
Unconfirmed
What it is

🚨 Imagine a delivery driver following an address that leads straight out of the warehouse and into the wrong neighborhood! That's how a path traversal vulnerability in modelscope/agentscope lets attackers access any files they want. 🔥 Think of it like a misdirected package that ends up at a random house instead of the intended recipient. In this case, it's a sneaky driver following '../..' in the filesystem instead of sticking to the authorized routes, leading to potential chaos! If exploited, an attacker could read or write any JSON files on the server, including sensitive configuration files, API keys, and hardcoded passwords. This could lead to unauthorized access to critical system data or even full compromise of your system. The consequences could be absolutely devastating!

Put simply

Think of it like a misdirected package that ends up at a random house instead of the intended recipient. In this case, it's a sneaky driver following '../..' in the filesystem instead of sticking to the authorized routes, leading to potential chaos! This path traversal vulnerability in modelscope/agentscope versions before the fix allows unauthorized file access due to improper validation of user input when saving or loading workflow files.

What to do

If exploited, an attacker could read or write any JSON files on the server, including sensitive configuration files, API keys, and hardcoded passwords. This could lead to unauthorized access to critical system data or even full compromise of your system. The consequences could be absolutely devastating! To fix this critical vulnerability, upgrade modelscope/agentscope to the latest version immediately. Additionally, implement strict input validation to ensure that file paths are properly sanitized. Regularly audit your file permissions and access controls to minimize exposure. You've got this! Follow these steps and you'll secure your system in no time. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01022 · 63.1th percentile
Weakness
CWE-23 · Relative Path Traversal
Published
2025-03-20T10:10Z
EPSS history
Timeline
  • 20 MAR 10:10Z
    Path Traversal in modelscope/agentscope
    cvelistv5