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

CVE-2024-8524: AgentScope directory traversal vulnerability in /read-examples

March 20, 2025

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.

References

  • github.com/advisories/GHSA-6v28-q95m-93qr
  • github.com/modelscope/agentscope
  • github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py
  • huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f
  • nvd.nist.gov/vuln/detail/CVE-2024-8524

Code Behaviors & Features

Detect and mitigate CVE-2024-8524 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.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

pypi/agentscope/CVE-2024-8524.yml

Spotted a mistake? Edit the file on GitLab.

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

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