CVE-2024-12215 Remote Code Execution in kedro-org/kedro

High 8.8 Published Updated

Attackers can achieve remote code execution by tricking users into downloading malicious micro packages that execute arbitrary commands via setup.py.

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

CVE-2024-12215 is a high-severity code injection vulnerability in kedro-org/kedro, 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

In kedro-org/kedro version 0.19.8, the `pull_package()` API function allows users to download and extract micro packages from the Internet. However, the function `project_wheel_metadata()` within the code path can execute the `setup.py` file inside the tar file, leading to remote code execution (RCE) by running arbitrary commands on the victim's machine.

Weakness: CWE-94

Which versions are affected by CVE-2024-12215?

3 open source packages ship an affected version, including kedro.

PackageAffectedFixed in
kedro PyPIAll versions to 0.19.8None
kedro PyPIAll versions to 0.19.8None
kedro PyPIAll versions to 0.19.8None

How do I fix CVE-2024-12215?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-12215 being exploited?

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

Sources

Also known as GHSA-rm69-wvpv-r2w7, PYSEC-2026-1485.

Is CVE-2024-12215 in your software?

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

Check your SBOMs for free