Kedro Path Traversal and RCE
2026-04-03
Remote code execution in Kedro (all versions prior to 1.3.0) allows unauthenticated network attackers to execute arbitrary system commands during application startup by poisoning the KEDRO_LOGGING_CONFIG environment variable. The vulnerability stems from unsafe use of Python's logging.config.dictConfig() with the special '()' factory key that enables arbitrary callable instantiation. With CVSS 9.8 (critical severity, network-exploitable, no privileges required, low complexity), this represents a
Path traversal in Kedro's versioned dataset loading lets a crafted version string escape the intended versioned dataset directory and read or overwrite files the Kedro process can reach. The flaw is in `_get_versioned_path()` in kedro/io/core.py and is reachable through `catalog.load(..., version=...)`, `DataCatalog.from_config(..., load_versions=...)`, and the `kedro run --load-versions=dataset:../../../secrets` CLI flag, so it matters most where operators or applications pass untrusted values into the version parameter, such as shared or multi-tenant deployments. There is no public exploit identified at time of analysis, EPSS is 0.05% (17th percentile) and SSVC reports no exploitation activity, but CVSS is 8.1 with high confidentiality and integrity impact; per the CVSS vector (PR:L) the attacker needs some level of application privilege first.