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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-10T18:50:01.038Z
- Modified: 2026-06-17T08:22:50.310Z
- Also known as: PYSEC-2025-84
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- modelscope modelscope/agentscope: from unspecified up to latest
- modelscope agentscope: 0.0.4
- agentscope (PyPI): up to 0.0.4

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/7cd8f519-7c75-4936-889d-a17ea1bcb3ea> (exploit, evidence, third-party-advisory)

## Sources

- CVE List: [CVE-2024-8550](https://www.cve.org/CVERecord?id=CVE-2024-8550), CVE Terms of Use, modified 2025-02-10
- NVD: [CVE-2024-8550](https://nvd.nist.gov/vuln/detail/CVE-2024-8550), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-84](https://osv.dev/vulnerability/PYSEC-2025-84), CC-BY-4.0, modified 2026-05-21

---

Page: https://cve.day/CVE-2024-8550 · Whole record: https://cve.day/CVE-2024-8550.json · Rebuilt by cve.day 2026-11-25T22:58:51.474Z
