# CVE-2024-8501: ModelScope AgentScope path traversal in rpc_agent_client

Source: https://junglewise.ai/threats/cve-2024-8501-modelscope-agentscope-path-traversal-in-rpc-agent-client  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-20. Updated: 2026-06-05  
License: CC BY 4.0 with a link back

CVE-2024-8501 · Severity: high · CVSS 7.5 · Published 2025-03-20

AgentScope is a framework used to build multi-agent applications. A security flaw in its remote communication component allows an attacker to download any file from the server hosting the agent. This could result in the theft of sensitive data, including login credentials, configuration files, and private system information, potentially leading to a full system compromise.

Technologies: [agentscope (PyPI)](https://junglewise.ai/threats/technologies/agentscope). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-8501 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-8501 being exploited in the wild.

**How severe is CVE-2024-8501?** 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-8501?** 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-8501 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2024-8501?** 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

An absolute path traversal vulnerability (CWE-36) exists in the rpc_agent_client component of ModelScope AgentScope version 0.0.4 and earlier. The vulnerability is located within the download_file method, which fails to properly validate or sanitize user-supplied file paths. A remote, unauthenticated attacker can exploit this by providing an absolute path to a file on the host system, allowing them to download sensitive data such as configuration files, credentials, or system binaries. This can be performed over the network without user interaction. As of the advisory date, no patched version has been identified.

## Affected products

- ModelScope AgentScope <= 0.0.4

## Identifiers

- CVE-2024-8501
- GHSA-p6h7-hfj2-vmcf
- PYSEC-2025-82

## Timeline

- 2025-03-20: disclosed: Initial disclosure via huntr.dev and NVD
- 2025-03-20: advisory: GitHub Advisory GHSA-p6h7-hfj2-vmcf published

## References

- [https://huntr.com/bounties/83e433c0-ed2d-4b10-8358-d3c1eee0a47c](https://huntr.com/bounties/83e433c0-ed2d-4b10-8358-d3c1eee0a47c)
- [https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-82.yaml](https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-82.yaml)

## Related threats

- [PYSEC-2026-1076 - AgentScope stored cross-site scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2024-8556-agentscope-stored-cross-site-scripting-xss-vulnerability)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6606-agentscope-vulnerable-to-server-side-request-forgery)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6605-agentscope-vulnerable-to-server-side-request-forgery)
- [AgentScope vulnerable to Server-Side Request Forgery](https://junglewise.ai/threats/cve-2026-6604-agentscope-vulnerable-to-server-side-request-forgery)
- [PYSEC-2026-2331 - AgentScope Vulnerable to Remote Code Injection](https://junglewise.ai/threats/cve-2026-6603-agentscope-vulnerable-to-remote-code-injection)
