Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. agentscope
  4. ›
  5. CVE-2024-8551

CVE-2024-8551: AgentScope path traversal vulnerability in save-workflow

March 20, 2025

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.

References

  • github.com/advisories/GHSA-j9rw-qm5f-r8xm
  • github.com/modelscope/agentscope
  • github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py
  • huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989
  • nvd.nist.gov/vuln/detail/CVE-2024-8551

Code Behaviors & Features

Detect and mitigate CVE-2024-8551 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.1

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

pypi/agentscope/CVE-2024-8551.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:05 +0000.