Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35171

CVE-2026-35171: Kedro RCE Vulnerability

CVE-2026-35171 is a remote code execution flaw in Kedro that allows attackers to execute arbitrary commands via unsafe logging configuration. This post covers the technical details, affected versions, and mitigations.

Published: April 10, 2026

CVE-2026-35171 Overview

CVE-2026-35171 is a critical Remote Code Execution (RCE) vulnerability in Kedro, a popular toolbox for production-ready data science. Prior to version 1.3.0, Kedro allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable and loads it without proper 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 vulnerability is classified as Code Injection (CWE-94) and represents a severe security risk caused by the unsafe use of logging.config.dictConfig() with user-controlled input.

Critical Impact

Attackers with the ability to set environment variables or control logging configuration files can achieve full remote code execution on systems running vulnerable versions of Kedro, potentially compromising entire data science pipelines and associated infrastructure.

Affected Products

  • Kedro versions prior to 1.3.0

Discovery Timeline

  • 2026-04-06 - CVE CVE-2026-35171 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35171

Vulnerability Analysis

This vulnerability stems from Kedro's handling of logging configuration during application initialization. The framework reads the KEDRO_LOGGING_CONFIG environment variable to determine the path to a logging configuration file and processes it using Python's logging.config.dictConfig() function without adequate input validation.

Python's logging configuration mechanism supports a special () key within handler, filter, and formatter definitions. This key allows specifying an arbitrary callable that will be instantiated when the configuration is loaded. By crafting a malicious logging configuration file and pointing Kedro to it via the environment variable, an attacker can cause arbitrary Python code to execute with the privileges of the Kedro application.

The vulnerability is particularly dangerous because it triggers during application startup, before any security controls within the application itself can take effect. This makes it an effective vector for supply chain attacks and compromising data science workflows.

Root Cause

The root cause is the lack of validation and sanitization when loading user-controllable logging configuration. Kedro trusts the configuration file path specified in the KEDRO_LOGGING_CONFIG environment variable and passes the loaded configuration directly to logging.config.dictConfig(). The dictConfig() function's support for the () key to instantiate arbitrary callables creates a code injection pathway when combined with untrusted input.

Attack Vector

The attack requires an adversary to either control the KEDRO_LOGGING_CONFIG environment variable or place a malicious logging configuration file at a path that Kedro will read. Attack scenarios include:

  1. Environment Variable Manipulation: In containerized or cloud environments where environment variables may be influenced by external actors
  2. Malicious Configuration Files: Placing a crafted YAML or JSON logging configuration file in a location where Kedro expects to find one
  3. Supply Chain Attacks: Compromising dependencies or CI/CD pipelines to inject malicious logging configurations

Once the malicious configuration is loaded, the attacker-specified callable is instantiated, leading to arbitrary code execution. This could be used to establish persistence, exfiltrate sensitive data from data science pipelines, or pivot to other systems.

Detection Methods for CVE-2026-35171

Indicators of Compromise

  • Unexpected values in the KEDRO_LOGGING_CONFIG environment variable
  • Logging configuration files containing the () key with suspicious callable references
  • Unusual process spawning during Kedro application startup
  • Modifications to logging configuration files in project directories

Detection Strategies

  • Monitor environment variable changes, particularly KEDRO_LOGGING_CONFIG, in production environments
  • Implement file integrity monitoring on Kedro project configuration files
  • Audit logging configuration files for the presence of the () key with external or suspicious callables
  • Use application security testing tools to identify insecure deserialization patterns

Monitoring Recommendations

  • Enable process execution logging to detect unexpected child processes spawned by Kedro applications
  • Configure alerts for modifications to environment variables in containerized deployments
  • Review audit logs for unauthorized access to configuration file directories
  • Implement runtime application self-protection (RASP) to detect code injection attempts

How to Mitigate CVE-2026-35171

Immediate Actions Required

  • Upgrade Kedro to version 1.3.0 or later immediately
  • Audit all KEDRO_LOGGING_CONFIG environment variable settings in production environments
  • Review existing logging configuration files for suspicious () key usage
  • Restrict write access to Kedro configuration directories

Patch Information

This vulnerability is fixed in Kedro version 1.3.0. The fix implements proper validation of logging configuration to prevent arbitrary callable instantiation through the () key mechanism. Organizations should upgrade to the patched version as soon as possible.

For additional details, refer to the GitHub Security Advisory.

Workarounds

  • Remove or unset the KEDRO_LOGGING_CONFIG environment variable and use default logging configuration
  • Implement strict file permissions on logging configuration files to prevent tampering
  • Use container security policies to prevent environment variable modifications at runtime
  • Deploy network segmentation to limit the impact of potential code execution

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechKedro

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-9701: Kedro ShelveStore RCE Vulnerability

  • CVE-2026-35167: Kedro Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English