# CVE-2024-8551: Path Traversal in modelscope/agentscope

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- 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.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:21.361Z
- Modified: 2026-10-26T21:15:03.667Z
- Also known as: GHSA-j9rw-qm5f-r8xm, PYSEC-2026-255
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope versions prior to the fix. This vulnerability allows an attacker to read and write arbitrary JSON files on the filesystem, potentially leading to the exposure or modification of sensitive information such as configuration files, API keys, and hardcoded passwords.

(As written by CVE List.)

## Affected

- modelscope modelscope/agentscope: from unspecified up to latest
- agentscope (PyPI): up to 0.1.1
- modelscope agentscope: no versions given

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8551> (advisory)
- <https://github.com/modelscope/agentscope> (package)
- <https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L680> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-255.yaml> (web)
- <https://pypi.org/project/agentscope> (package, web)
- <https://github.com/advisories/GHSA-j9rw-qm5f-r8xm> (advisory)

## Sources

- CVE List: [CVE-2024-8551](https://www.cve.org/CVERecord?id=CVE-2024-8551), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-j9rw-qm5f-r8xm](https://github.com/advisories/GHSA-j9rw-qm5f-r8xm), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2024-8551](https://nvd.nist.gov/vuln/detail/CVE-2024-8551), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-255](https://osv.dev/vulnerability/PYSEC-2026-255), CC-BY-4.0, modified 2026-07-01

---

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