Vulnerability · Published Apr 6, 2026 · Assigned by GitHub_M
CVE-2026-35171Arbitrary Code Execution via Malicious Logging Configuration in Kedro
Critical 9.8
In plain English
A critical-severity code injection in kedro from kedro-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | kedro | 1.3.0 | GHSA-9cqf-439c-j96r |
| PyPI | kedro | 1.3.0 | PYSEC-2026-72 |
Affected products (as reported)
Weakness: CWE-94, CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/kedro-org/kedro/security/advisories/GHSA-9cqf-439c-j96r x_refsource_CONFIRM