Quick answers
- Is CVE-2024-8438 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-8438 being exploited in the wild.
- How severe is CVE-2024-8438?
- High severity, with a CVSS score of 7.5, published 20 March 2025.
- Which products and versions are affected?
- agentscope (PyPI) <= 0.0.4, ECOSYSTEM:introduced=0,last_affected=0.0.4.
- Is there a fix for CVE-2024-8438?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2024-8438 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-8438?
- Check whether you run agentscope (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A path traversal vulnerability (CWE-22) exists in ModelScope AgentScope version 0.0.4 and earlier. The vulnerability is located in the `/api/file` endpoint within the `src/agentscope/studio/_app.py` component. The application fails to properly sanitize the `path` parameter, allowing an attacker to use dot-dot-slash (`../`) sequences to escape the intended directory. An unauthenticated remote attacker can exploit this to read arbitrary files from the underlying filesystem with the privileges of the application process. As of the advisory date, no patched version has been identified.
Affected products
- ModelScope AgentScope <= 0.0.4
Identifiers
- CVE-2024-8438
- GHSA-f4hc-q562-cc5r
- PYSEC-2025-80
Timeline
- 2025-03-20: disclosed
- 2025-03-20: advisory