CVE-2026-35171
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSet KEDRO_LOGGING_CONFIG environment variable
-
ExploitSupply malicious YAML with arbitrary callable
-
ExecutiondictConfig() instantiates attacker code
-
ImpactExecute arbitrary commands during startup
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Kedro application with KEDRO_LOGGING_CONFIG environment variable exposed to attacker control; no validation of logging configuration file contents. Remote unauthenticated exploitation requires ability to set environment variables in application deployment environment. |
| Impact | This vulnerability presents critical real-world risk in containerized and cloud deployment scenarios despite no confirmed active exploitation. The CVSS 9.8 score accurately reflects the technical severity: network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and complete impact to confidentiality, integrity, and availability (C:H/I:H/A:H). However, practical exploitation requires specific environmental conditions-attackers must control either the KEDRO_LOGGING_CONFIG environment variable or have write access to logging configuration files. In typical deployment scenarios, environment variable control is achievable through container orchestration misconfigurations, CI/CD pipeline injection, or server-side request forgery chains. The vulnerability is particularly dangerous in multi-tenant data science platforms or automated ML pipeline systems where Kedro applications may be deployed with user-influenced configurations. EPSS data not provided, but the combination of critical CVSS, clear attack path, and widespread Kedro adoption in enterprise data engineering justifies immediate prioritization. The availability of a vendor patch (version 1.3.0) and clear upgrade path reduces residual risk for organizations with mature patch management, but unpatched instances remain highly vulnerable. SSVC assessment: exploitation is not confirmed active (no KEV listing), but the attack is automatable once environmental preconditions are met, with critical technical impact (arbitrary code execution). Priority: immediate patching for internet-facing or multi-tenant Kedro deployments. |
| Exploit ScenarioDerived | An attacker targeting a cloud-hosted data analytics platform discovers a Kedro-based ML pipeline service where container environment variables can be influenced through a parameter injection flaw in the deployment API. The attacker crafts a malicious YAML logging configuration file hosted on an attacker-controlled server, containing an entry that uses the '()' key to instantiate os.system with a reverse shell command. By manipulating the deployment request to set KEDRO_LOGGING_CONFIG to the URL of this malicious configuration file, the attacker causes the Kedro application to download and parse the poisoned config during startup. The dictConfig() function executes the embedded command, establishing a reverse shell connection that grants the attacker full control over the container, enabling data exfiltration from connected databases, lateral movement to other services in the Kubernetes cluster, and |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
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
Earlier versions of this analysis (1)
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 severe supply chain and deployment security risk for data pipeline applications. No public exploit identified at time of analysis, though the attack mechanism is well-documented in Python security literature.
RemediationAI
Upgrade immediately to Kedro version 1.3.0 or later, which introduces validation to reject the unsafe '()' factory key in logging configurations before processing with dictConfig(). Organizations can install the patched version using pip: 'pip install --upgrade kedro>=1.3.0' and verify installation with 'pip show kedro'. For environments where immediate upgrading is not feasible, implement defense-in-depth mitigations: restrict write permissions on all logging configuration files to trusted system accounts only; prevent untrusted input from controlling the KEDRO_LOGGING_CONFIG environment variable through input validation, environment variable allowlisting in container orchestration, and least-privilege execution contexts; audit all existing logging configuration YAML files to ensure they do not contain the '()' key; and implement runtime monitoring for unexpected child processes spawned by Kedro applications. In containerized deployments, use read-only filesystems for configuration directories and explicitly set KEDRO_LOGGING_CONFIG to a known-safe path in the container image rather than accepting it from external sources. These workarounds reduce attack surface but do not provide complete protection-upgrading to the patched version remains the only definitive remediation. Consult the official GitHub advisory (https://github.com/kedro-org/kedro/security/advisories/GHSA-9cqf-439c-j96r) for additional vendor guidance and subscribe to Kedro security announcements for future updates.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits a dangerous feature in Python's standard library logging configuration mechanism. The logging.config.dictConfig() function supports a special '()' key that dynamically instantiates arbitrary Python callables during configuration parsing. Kedro, a popular data pipeline framework (pkg:pip/kedro), reads logging configuration from a file path specified via the KEDRO_LOGGING_CONFIG environment variable without validating the configuration contents before passing to dictConfig(). An attacker who can control this environment variable or write to the referenced configuration file can inject a malicious logging configuration containing entries like '()': 'os.system' or '()': 'subprocess.Popen' with arbitrary command arguments. This triggers code execution during the logging subsystem initialization at application startup, before any application-level security controls are active. The root cause is CWE-94 (Improper Control of Generation of Code), specifically unsafe deserialization of configuration data that supports executable directives. This pattern has affected other Python frameworks and represents a broader ecosystem risk wherever dictConfig() processes untrusted input.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (https://github.com/kedro-org/kedro) · only source for this CVE.
CVSS VectorVendor: https://github.com/kedro-org/kedro
Lifecycle Timeline
2DescriptionCVE.org
Impact
This is a critical Remote Code Execution (RCE) vulnerability caused by unsafe use of logging.config.dictConfig() with user-controlled input.
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.
---
Patches
The vulnerability is fixed by introducing validation that rejects the unsafe () factory key in logging configurations before passing them to dictConfig().
Fixed in
- Kedro 1.3.0
Users should upgrade to this version as soon as possible.
---
Workarounds
If upgrading is not immediately possible:
- Do not allow untrusted input to control the
KEDRO_LOGGING_CONFIGenvironment variable - Restrict write access to logging configuration files
- Avoid using externally supplied or dynamically generated logging configs
- Manually validate logging YAML to ensure it does not contain the
()key
These mitigations reduce risk but do not fully eliminate it.
Executive ViewAI
Kedro versions prior to 1.3.0 contain a critical remote code execution vulnerability in the logging configuration system that allows unauthenticated attackers to execute arbitrary commands during application startup by manipulating the KEDRO_LOGGING_CONFIG environment variable. Organizations running Kedro data pipelines face immediate risk of full system compromise through supply chain poisoning or misconfigured deployments, potentially affecting data integrity, confidentiality, and operational continuity.
Vendor-released patch: Kedro version 1.3.0 and later. If immediate patching is blocked, restrict environment variable injection at the container/orchestration layer by implementing read-only configurations and removing KEDRO_LOGGING_CONFIG from deployment specifications; enforce network segmentation to limit application startup communications to trusted configuration sources only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
GHSA-9cqf-439c-j96r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB