CVE-2026-35171: CWE-94: Improper Control of Generation of Code ('Code Injection') in kedro-org kedro
Kedro versions prior to 1. 3. 0 contain a critical remote code execution vulnerability due to unsafe loading of a logging configuration file specified by the KEDRO_LOGGING_CONFIG environment variable. The logging configuration supports a special key that allows arbitrary callable instantiation, enabling attackers to execute system commands during application startup. This vulnerability is fixed in Kedro version 1. 3. 0.
AI Analysis
Technical Summary
Kedro before version 1.3.0 allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable without validation. The logging configuration schema supports a special () key that enables arbitrary callable instantiation. Because Kedro uses logging.config.dictConfig() with user-controlled input, an attacker can exploit this to execute arbitrary system commands during application startup, resulting in a critical remote code execution vulnerability. This issue is addressed in version 1.3.0.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary system commands remotely during application startup, leading to full compromise of the affected system. The CVSS score of 9.8 reflects the critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Kedro to version 1.3.0 or later, where this vulnerability is fixed. Until upgrading, avoid setting the KEDRO_LOGGING_CONFIG environment variable to untrusted or user-controlled paths. Patch status is confirmed fixed in version 1.3.0.
CVE-2026-35171: CWE-94: Improper Control of Generation of Code ('Code Injection') in kedro-org kedro
Description
Kedro versions prior to 1. 3. 0 contain a critical remote code execution vulnerability due to unsafe loading of a logging configuration file specified by the KEDRO_LOGGING_CONFIG environment variable. The logging configuration supports a special key that allows arbitrary callable instantiation, enabling attackers to execute system commands during application startup. This vulnerability is fixed in Kedro version 1. 3. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kedro before version 1.3.0 allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable without validation. The logging configuration schema supports a special () key that enables arbitrary callable instantiation. Because Kedro uses logging.config.dictConfig() with user-controlled input, an attacker can exploit this to execute arbitrary system commands during application startup, resulting in a critical remote code execution vulnerability. This issue is addressed in version 1.3.0.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary system commands remotely during application startup, leading to full compromise of the affected system. The CVSS score of 9.8 reflects the critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Kedro to version 1.3.0 or later, where this vulnerability is fixed. Until upgrading, avoid setting the KEDRO_LOGGING_CONFIG environment variable to untrusted or user-controlled paths. Patch status is confirmed fixed in version 1.3.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T17:26:21.133Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d3f4be0a160ebd92ce2ef8
Added to database: 4/6/2026, 6:00:30 PM
Last enriched: 4/14/2026, 3:59:50 PM
Last updated: 5/22/2026, 6:52:29 PM
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.