---
id: CVE-2024-8537
aliases:
  - GHSA-c4cc-w454-4634
  - PYSEC-2026-254
title: AgentScope path traversal vulnerability
summary: AgentScope path traversal vulnerability
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
vendor: agentscope
product: agentscope
ecosystem: pip
affected:
  - agentscope <= 0.1.1
published: '2025-03-20'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T21:15:03.665362500Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-c4cc-w454-4634'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8537'
  - url: 'https://github.com/modelscope/agentscope/pull/459'
  - url: >-
      https://github.com/modelscope/agentscope/commit/7d285e862f86fa1d96ed04c4cd40a5f1b8f9189a
  - url: 'https://github.com/modelscope/agentscope'
  - url: >-
      https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L743
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-254.yaml
  - url: 'https://huntr.com/bounties/eeb8aa4b-e6e5-465c-b0dd-aa97e3b7dc09'
  - url: 'https://pypi.org/project/agentscope'
  - url: 'https://github.com/advisories/GHSA-c4cc-w454-4634'
tags:
  - osv
  - pip
  - ghsa
epss: 0.0104
epssPercentile: 0.63842
cwe:
  - CWE-22
  - CWE-29
ingestedAt: '2026-10-27T16:11:58.785Z'
---

## Overview

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.

## Affected packages

- `agentscope <= 0.1.1`

## Remediation

Refer to the advisory for the patched release.
