CVE-2024-8438 json
Path Traversal in modelscope/agentscope
published 2025-03-20 19 mo ago modified 2026-06-17 4 mo ago also GHSA-f4hc-q562-cc5r , PYSEC-2025-80 , EUVD-2025-6904
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | agentscope | <=0.0.4 |
no fix listed |
Affected products
- modelscope modelscope/agentscope
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
huntr.com
/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974
web, exploit, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-8438
advisory
-
github.com
/modelscope/agentscope
package
-
github.com
/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578
web
-
github.com
/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml
web
-
github.com
/advisories/GHSA-f4hc-q562-cc5r
advisory
Sources
- CVE List CVE-2024-8438
- GitHub Advisory GHSA-f4hc-q562-cc5r
- NVD CVE-2024-8438
- OSV PYSEC-2025-80
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.