Skip to content
OpenAdvisories
High · 7.5 CVE-2024-8550 EUVD-2025-5038GHSA-mrm5-rxf8-grccPYSEC-2025-84

Local File Inclusion (LFI) in modelscope/agentscope

Published Feb 10, 2025 · Updated Feb 10, 2025 · Assigned by @huntr_ai

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

VendorProductAffectedFixed
modelscope modelscope/agentscope unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI agentscope <= 0.0.4 — PYSEC-2025-84

References