Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. kedro
  4. ›
  5. CVE-2026-35171

CVE-2026-35171: Kedro has Arbitrary Code Execution via Malicious Logging Configuration

April 3, 2026 (updated April 7, 2026)

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.


References

  • github.com/advisories/GHSA-9cqf-439c-j96r
  • github.com/kedro-org/kedro
  • github.com/kedro-org/kedro/security/advisories/GHSA-9cqf-439c-j96r
  • nvd.nist.gov/vuln/detail/CVE-2026-35171

Code Behaviors & Features

Detect and mitigate CVE-2026-35171 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.0

Fixed versions

  • 1.3.0

Solution

Upgrade to version 1.3.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/kedro/CVE-2026-35171.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:49 +0000.