---
id: CVE-2024-8551
aliases:
  - GHSA-j9rw-qm5f-r8xm
  - PYSEC-2026-255
title: AgentScope path traversal vulnerability in save-workflow
summary: AgentScope path traversal vulnerability in save-workflow
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.667900656Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-j9rw-qm5f-r8xm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8551'
  - url: 'https://github.com/modelscope/agentscope'
  - url: >-
      https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L680
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-255.yaml
  - url: 'https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989'
  - url: 'https://pypi.org/project/agentscope'
  - url: 'https://github.com/advisories/GHSA-j9rw-qm5f-r8xm'
tags:
  - osv
  - pip
  - ghsa
epss: 0.01022
epssPercentile: 0.63301
cwe:
  - CWE-22
  - CWE-23
ingestedAt: '2026-10-27T16:11:58.783Z'
---

## Overview

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.

## Affected packages

- `agentscope <= 0.1.1`

## Remediation

Refer to the advisory for the patched release.
