CVE-2024-8487 CORS Vulnerability in modelscope/agentscope

High 7.4 Published Updated

Improper CORS configuration allows any external domain to access the API, leading to unauthorized data access and information disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-8487?

CVE-2024-8487 is a high-severity vulnerability in modelscope/agentscope, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS configuration on the agentscope server does not properly restrict access to only trusted origins, allowing any external domain to make requests to the API. This can lead to unauthorized data access, information disclosure, and potential further exploitation, thereby compromising the integrity and confidentiality of the system.

Weakness: CWE-346

Which versions are affected by CVE-2024-8487?

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-8487?

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

Is CVE-2024-8487 being exploited?

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

Sources

Also known as GHSA-75v5-6885-59f9, PYSEC-2025-81.

Is CVE-2024-8487 in your software?

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

Check your SBOMs for free