CVE-2026-35171 Arbitrary Code Execution via Malicious Logging Configuration in Kedro
Attackers can execute arbitrary code by manipulating the logging configuration path via an environment variable in Kedro.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-35171?
CVE-2026-35171 is a critical code injection vulnerability in kedro-org kedro, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Which versions are affected by CVE-2026-35171?
3 open source packages ship an affected version, including kedro. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kedro PyPI | All versions | 1.3.0 |
kedro PyPI | All versions | 1.3.0 |
kedro PyPI | All versions | 1.3.0 |
Products include Linuxfoundation Kedro.
How do I fix CVE-2026-35171?
Upgrade kedro to 1.3.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-35171 being exploited?
There is no known exploitation of CVE-2026-35171 in the wild and no public exploit code.
Other vulnerabilities in kedro-org kedro
Sources
Also known as GHSA-9cqf-439c-j96r, PYSEC-2026-72.