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

Critical 9.8 Published Updated

Attackers can execute arbitrary Python code via malicious pickle payloads in Kedro's ShelveStore, leading to system compromise.

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

What is CVE-2024-9701?

CVE-2024-9701 is a critical unsafe deserialization vulnerability in kedro-org/kedro, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Remote Code Execution (RCE) vulnerability has been identified in the Kedro ShelveStore class (version 0.19.8). This vulnerability allows an attacker to execute arbitrary Python code via deserialization of malicious payloads, potentially leading to a full system compromise. The ShelveStore class uses Python's shelve module to manage session data, which relies on pickle for serialization. Crafting a malicious payload and storing it in the shelve file can lead to RCE when the payload is deserialized.

Weakness: CWE-502

Which versions are affected by CVE-2024-9701?

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

PackageAffectedFixed in
kedro PyPIAll versions0.19.9
kedro PyPIAll versions0.19.9
kedro PyPIAll versions0.19.9

How do I fix CVE-2024-9701?

Upgrade kedro to 0.19.9 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-9701 being exploited?

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

Sources

Also known as GHSA-747f-ww56-4q4h, PYSEC-2026-367.

Is CVE-2024-9701 in your software?

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

Check your SBOMs for free