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

CVE-2024-8438: AgentScope Path Traversal in /api/file

March 20, 2025 (updated June 5, 2026)

A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint /api/file does not properly sanitize the path parameter, allowing an attacker to read arbitrary files on the server.

References

  • github.com/advisories/GHSA-f4hc-q562-cc5r
  • github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py
  • github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml
  • huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974
  • nvd.nist.gov/vuln/detail/CVE-2024-8438

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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')

Source file

pypi/agentscope/CVE-2024-8438.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:27 +0000.