CVE-2024-8550 HIGH

CVE-2024-8550: Local File Inclusion (LFI) in modelscope/agentscope

Vendor Modelscope
Product modelscope/agentscope
Weakness CWE-497
Published February 10, 2025
Last update February 10, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

A Local File Inclusion (LFI) vulnerability exists in the /load-workflow endpoint of modelscope/agentscope version v0.0.4. This vulnerability allows an attacker to read arbitrary files from the server, including sensitive files such as API keys, by manipulating the filename parameter. The issue arises due to improper sanitization of user input passed to the os.path.join function, which can be exploited to access files outside the intended directory.

Key dates

02Disclosure timeline

February 10, 2025 CVE published
February 10, 2025 Record updated