# CVE-2024-8537: 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.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:00.318Z
- Modified: 2026-10-26T21:15:03.665Z
- Also known as: GHSA-c4cc-w454-4634, PYSEC-2026-254
- Weaknesses: CWE-22, CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.

(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`
- 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/eeb8aa4b-e6e5-465c-b0dd-aa97e3b7dc09> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8537> (advisory)
- <https://github.com/modelscope/agentscope/pull/459> (web)
- <https://github.com/modelscope/agentscope/commit/7d285e862f86fa1d96ed04c4cd40a5f1b8f9189a> (web)
- <https://github.com/modelscope/agentscope> (package)
- <https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L743> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-254.yaml> (web)
- <https://pypi.org/project/agentscope> (package, web)
- <https://github.com/advisories/GHSA-c4cc-w454-4634> (advisory)

## Sources

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

---

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