GitHub Advisoryadvisory · PyPI
GHSA-f4hc-q562-cc5r AgentScope Path Traversal in /api/file
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-8438 advisory
- https://github.com/modelscope/agentscope package
- https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578 web
- https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml web
- https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974 web