PYSEC-2025-84

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/agentscope/PYSEC-2025-84.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2025-84
Aliases
Published
2025-02-10T19:15:39.440Z
Modified
2026-05-21T15:00:05.014976570Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

PyPI / agentscope

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.4

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/agentscope/PYSEC-2025-84.yaml"