High

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 fil

  • Disclosed: 20.03.2025
  • Updated: 11.10.2026 12:19

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) agentscope <= 0.0.4 no fix

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
agentscope
Disclosed
20.03.2025
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-f4hc-q562-cc5r - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2025-80 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: agentscope

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (14) in the archive
Total entries
14
First → latest
11.2024 04.2026
Without a fix
13
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 4
  • Medium 5

Disclosures per year

  1. 2024: 1
  2. 2025: 9
  3. 2026: 4
Severity:
  1. Critical · 9.1 CVE-2024-8537 <= 0.1.1 no fix
  2. Critical · 9.1 CVE-2024-8551 <= 0.1.1 no fix
  3. Critical · 9.8 CVE-2024-8502 <= 0.0.6a3 no fix
  4. 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 fil this entry
    High · 7.5 CVE-2024-8438 <= 0.0.4 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.