CVE-2026-3840: Path Traversal in kedro-org/kedro

Published Jun 12, 2026
·
Updated

A vulnerability in Kedro version 1.2.0 allows an attacker to exploit path traversal by providing a crafted version string. The getversionedpath() method in kedro/io/core.py directly interpolates user-supplied version strings into filesystem paths without sanitization. This enables an attacker to escape the intended versioned dataset directory and access files outside the expected path. The issue is also reachable through the CLI via the --load-versions parameter, as splitloadversions() in kedro/framework/cli/utils.py does not validate the version string. This vulnerability can lead to unauthorized file reads, data poisoning, cross-project or cross-tenant data access, and broader downstream impacts in environments where Kedro is used with automation or orchestration layers.

Affected Software

2 affected components
pypi/kedro=1.2.0
linuxfoundation Kedro Python=1.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove kedro-org/kedro 1.2.0 from your environment.

    Uninstall or avoid deploying Kedro version 1.2.0 until an upstream patch is available.

  2. Configuration

    Avoid using the --load-versions CLI parameter with untrusted input. If usage is required, validate and sanitize all version strings passed via --load-versions to reject traversal characters (e.g., path separators, ..) before they are interpreted.

    Kedro CLI --load-versions = disabled / validate input
  3. Configuration

    Sanitize or validate version strings in _get_versioned_path() prior to interpolating them into filesystem paths. Reject or canonicalize inputs containing path traversal sequences or path separators to prevent escaping the intended versioned dataset directory.

    kedro/io/core.py::_get_versioned_path version string sanitization = sanitize/validate
  4. Compensating control

    Run Kedro with least privilege and isolate project runtimes (containers, sandboxing). Restrict filesystem permissions so Kedro processes cannot read files outside intended dataset directories and isolate projects/tenants in orchestration systems to prevent cross-project data access.

  5. Operational

    If Kedro 1.2.0 has been used, audit logs and storage for unauthorized file reads or signs of data poisoning and remediate any impacted datasets or pipelines.

Event History

Jun 12, 2026
CVE Published
via MITRE·03:45 PM
Data Sourced
via MITRE·03:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-3840?

CVE-2026-3840 has a severity rating of high, with a score of 7.1.

2

How do I fix CVE-2026-3840?

To fix CVE-2026-3840, update Kedro to a patched version where the path traversal vulnerability is resolved.

3

What is the risk associated with CVE-2026-3840?

CVE-2026-3840 has a risk score of 52, indicating that it poses a significant threat to systems utilizing the affected version of Kedro.

4

How does CVE-2026-3840 allow for exploitation?

CVE-2026-3840 allows exploitation through path traversal by interpolating unvalidated user-supplied version strings into filesystem paths.

5

Which version of Kedro is affected by CVE-2026-3840?

CVE-2026-3840 affects Kedro version 1.2.0, which contains the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203