Vulnerability in Modelscope Agentscope
CVE-2024-8550
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 44.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Modelscope Agentscope — versions 0.0.4
- Modelscope Modelscope/agentscope — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/7cd8f519-7c75-4936-889d-a17ea1bcb3ea (Exploit, Third Party Advisory)