CVE-2024-8438
HIGH 7.5CVSS 3.0AgentScope Path Traversal in /api/file
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.
- Published
- 20 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-f4hc-q562-cc5rPYSEC-2025-80
- Sources
- NVDJSONOSV GHSA-f4hc-q562-cc5rJSONOSV PYSEC-2025-80JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | modelscope | agentscopecpe:2.3:a:modelscope:agentscope:0.0.4:*:*:*:*:*:*:* |
= 0.0.4 | |
| OSV | PyPI | agentscope | <= 0.0.4 |
References
- https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974 · Exploit, Third Party Advisory, WEB, EVIDENCE
- 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://github.com/advisories/GHSA-f4hc-q562-cc5r · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)