Junglewise Threat Intelligence

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

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

Technologies: agentscope (PyPI). Vendors: PyPI.

Executive brief

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.

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

Timeline

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

References

Related threats