CVE-2026-35171: Kedro remote code execution via logging configuration

CVE-2026-35171 · Severity: critical · CVSS 9.8 · Published 2026-04-06

Kedro, a data science workflow tool, contains a vulnerability that allows for remote code execution. By manipulating an environment variable used for logging configuration, an attacker can force the application to execute unauthorized system commands during startup. This could lead to a complete takeover of the system running the data science pipeline, potentially exposing sensitive research data or disrupting operations.

Technologies: kedro (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-35171 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35171 being exploited in the wild.
How severe is CVE-2026-35171?
Critical severity, with a CVSS score of 9.8, published 6 April 2026.
Which products and versions are affected?
kedro (PyPI) < 1.3.0, ECOSYSTEM:introduced=0,fixed=1.3.0.
Is there a fix for CVE-2026-35171?
Yes. kedro (PyPI): upgrade to 1.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-35171 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-35171?
Check whether you run kedro (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • kedro (PyPI): upgrade to 1.3.0 or later
    pip install "kedro>=1.3.0"

Technical details

Kedro versions prior to 1.3.0 are vulnerable to remote code execution (RCE) due to the unsafe use of logging.config.dictConfig() on user-controlled input. The application loads a logging configuration file path from the KEDRO_LOGGING_CONFIG environment variable without validation. Because the Python logging configuration schema supports the '()' key for arbitrary callable instantiation, an attacker who can influence this environment variable or the file it points to can execute arbitrary system commands. The vulnerability is classified under CWE-94 (Code Injection) and CWE-502 (Deserialization of Untrusted Data). A fix is available in version 1.3.0 which introduces validation to reject the unsafe factory key.

Affected products

  • kedro-org Kedro < 1.3.0

Identifiers

  • CVE-2026-35171
  • GHSA-9cqf-439c-j96r
  • PYSEC-2026-72

Timeline

  • 2026-04-01: advisory: GitHub Security Advisory published by kedro-org
  • 2026-04-06: disclosed: CVE-2026-35171 published to NVD
  • 2026-04-06: patched: Vulnerability fixed in Kedro version 1.3.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.