CVE-2024-8438: A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4
CVE-2024-8438 is a high-severity flaw (CVSS 7.5) affecting agentscope. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8438?
agentscope: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-8438 being exploited?
CVE-2024-8438 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8438 affect?
CVE-2024-8438 affects agentscope. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2024-8438?
Priority 50/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-8556 MEDIUM 6.1 UPGRADE A stored cross-site scripting (XSS) vulnerability exists in modelscope/agentscope, as of the latest commit 211
- CVE-2024-8551 CRITICAL 9.1 MITIGATE A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agent
- CVE-2024-8550 HIGH 7.5 DOWNGRADE A Local File Inclusion (LFI) vulnerability exists in the /load-workflow endpoint of modelscope/agentscope vers
- CVE-2024-8537 CRITICAL 9.1 MITIGATE A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions
- CVE-2024-8524 HIGH 7.5 DOWNGRADE A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4