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)

EPSS: 0.007 (49.9th percentile) — read the EPSS interpretation.

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.

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.