Path Traversal in Modelscope Agentscope

CVE-2024-8438

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.008 (53.4th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 53.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-8438: held from 0.007 to 0.008.

EPSS over last 30 days · oldest: 0.007 · newest: 0.008 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-8438?
CVE-2024-8438 is a high-severity vulnerability in Modelscope Agentscope, classified under Path Traversal. CVSS score: 7.5/10. Published 2025-03-20.
How severe is CVE-2024-8438?
High severity. CVSS v3 base score is 7.5 out of 10.