CVE-2024-8501 Arbitrary File Download in modelscope/agentscope

High 7.5 Published Updated

Attackers can download arbitrary files from the host via the RPC agent client, exposing sensitive data and enabling privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8501?

CVE-2024-8501 is a high-severity path traversal vulnerability in modelscope/agentscope, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An arbitrary file download vulnerability exists in the rpc_agent_client component of modelscope/agentscope version v0.0.4. This vulnerability allows any user to download any file from the rpc_agent's host by exploiting the download_file method. This can lead to unauthorized access to sensitive information, including configuration files, credentials, and potentially system files, which may facilitate further exploitation such as privilege escalation or lateral movement within the network.

Weakness: CWE-36

Which versions are affected by CVE-2024-8501?

3 open source packages ship an affected version, including agentscope. It affects 1 product.

PackageAffectedFixed in
agentscope PyPIAll versions to 0.0.4None
agentscope PyPIAll versions to 0.0.4None
agentscope PyPIAll versions to 0.0.4None

Products include Modelscope Agentscope.

How do I fix CVE-2024-8501?

No fix has been published for CVE-2024-8501 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-8501 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8501 exists.

Sources

Also known as GHSA-p6h7-hfj2-vmcf, PYSEC-2025-82.

Is CVE-2024-8501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free