PyPA Advisory Database
PYSEC-2026-1485
Kedro allows Remote Code Execution by Pulling Micro Packages
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | kedro | All versions up to and including 0.19.8 |