Skip to content

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

HighCVSS 7.5 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
pypi agentscope(PyPI) <= 0.0.4 No fix listed
pypi agentscope(PyPI) = 0.0.1 No fix listed
pypi agentscope(PyPI) = 0.0.2 No fix listed
pypi agentscope(PyPI) = 0.0.3 No fix listed
pypi agentscope(PyPI) = 0.0.4 No fix listed
modelscope/agentscope <= latest No fix listed
modelscope agentscope = 0.0.4 No fix listed

References