GitHub Advisoryadvisory · PyPI

GHSA-f4hc-q562-cc5r AgentScope Path Traversal in /api/file

HIGH Published 2025-03-20 Modified 2026-06-05 Official page ↗
Aliases
CVE-2024-8438
Ecosystem
PyPI
Packages
agentscope
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2025-03-20

Affected packages

• PyPI agentscope: <= 0.0.4 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-8438 A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References