agentscopeGHSA-f4hc-q562-cc5r
AgentScope Path Traversal in /api/file
High7.5CVE-2024-8438 · Published Mar 20, 2025 · updated Jun 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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| agentscope PyPI | <= 0.0.4 | No fix yet |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-22
- Also known as
- CVE-2024-8438, PYSEC-2025-80
- nvd.nist.gov/vuln/detail/CVE-2024-8438
- github.com/modelscope/agentscope
- github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578
- github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml
- huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974
More agentscope advisories
All agentscope| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 202025 | AgentScope stored cross-site scripting (XSS) vulnerability | Medium6.1 | No fix yet |
| Mar 202025 | AgentScope directory traversal vulnerability in /read-examples | High7.5 | No fix yet |
| Mar 202025 | AgentScope Cross-Origin Resource Sharing (CORS) vulnerability | High7.4 | No fix yet |
| Mar 202025 | AgentScope Deserialization Vulnerability | Critical9.8 | No fix yet |
| Mar 202025 | AgentScope path traversal vulnerability | Critical9.1 | No fix yet |
| Mar 202025 | AgentScope path traversal vulnerability in save-workflow | Critical9.1 | No fix yet |