# CVE-2024-8524: Directory Traversal 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): 1.19%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:18.458Z
- Modified: 2026-06-17T08:22:47.520Z
- Also known as: GHSA-6v28-q95m-93qr, PYSEC-2025-83
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.

(As written by CVE List.)

## Affected

- modelscope modelscope/agentscope: from unspecified up to latest
- agentscope (PyPI): up to 0.0.4
- modelscope agentscope: 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`
- GitHub: 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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f> (exploit, evidence, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8524> (advisory)
- <https://github.com/modelscope/agentscope> (package)
- <https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L642> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-83.yaml> (web)
- <https://github.com/advisories/GHSA-6v28-q95m-93qr> (advisory)

## Sources

- CVE List: [CVE-2024-8524](https://www.cve.org/CVERecord?id=CVE-2024-8524), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-6v28-q95m-93qr](https://github.com/advisories/GHSA-6v28-q95m-93qr), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2024-8524](https://nvd.nist.gov/vuln/detail/CVE-2024-8524), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-83](https://osv.dev/vulnerability/PYSEC-2025-83), CC-BY-4.0, modified 2026-06-10

---

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