Advisory

PYSEC-2026-72

Also known as: CVE-2026-35171, GHSA-9cqf-439c-j96r

Summary

The record has no summary.

Details

Kedro is a toolbox for production-ready data science. Prior to 1.3.0, Kedro allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable and loads it without validation. The logging configuration schema supports the special () key, which enables arbitrary callable instantiation. An attacker can exploit this to execute arbitrary system commands during application startup. This is a critical remote code execution (RCE) vulnerability caused by unsafe use of logging.config.dictConfig() with user-controlled input. This vulnerability is fixed in 1.3.0.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-04-06 18:16 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

kedro

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.0 (ecosystem)

Fixed versions

1.3.0

Fix

  • Fixed version 1.3.0
    pip install --upgrade kedro==1.3.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences