Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3840: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedro-org kedro-org/kedro

0
High
VulnerabilityCVE-2026-3840cvecve-2026-3840cwe-22
Published: Fri Jun 12 2026 (06/12/2026, 15:45:39 UTC)
Source: CVE Database V5
Vendor/Project: kedro-org
Product: kedro-org/kedro

Description

A vulnerability in Kedro version 1.2.0 allows an attacker to exploit path traversal by providing a crafted version string. The `_get_versioned_path()` 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 `_split_load_versions()` 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.

CVSS v3.0

Score 7.1high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

kedro
pkg:pypi/kedro
Affected versions
=1.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/12/2026, 17:24:23 UTC

Technical Analysis

CVE-2026-3840 is a path traversal vulnerability (CWE-22) in kedro-org/kedro version 1.2.0. The vulnerability arises because the _get_versioned_path() method in kedro/io/core.py directly uses user-supplied version strings to construct filesystem paths without sanitization. Additionally, the CLI interface's --load-versions parameter, handled by _split_load_versions() in kedro/framework/cli/utils.py, does not validate these version strings, making the vulnerability reachable via command line. This allows an attacker with local privileges to escape the intended versioned dataset directory and access arbitrary files on the filesystem. The impact includes unauthorized file reads, potential data poisoning, and cross-project or cross-tenant data exposure, especially in environments using Kedro with automation or orchestration layers.

Potential Impact

An attacker with local access and limited privileges can exploit this vulnerability to read unauthorized files outside the intended directories by supplying crafted version strings. This can lead to unauthorized disclosure of sensitive data, data poisoning, and cross-project or cross-tenant data access. The vulnerability does not affect availability but has high confidentiality and integrity impacts as per the CVSS score of 7.1.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using version strings from untrusted sources and restrict access to the CLI and configuration parameters that accept version strings. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-03-09T16:04:48.887Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2c3d54e617e2d83492a81b

Added to database: 6/12/2026, 5:09:40 PM

Last enriched: 6/12/2026, 5:24:23 PM

Last updated: 6/12/2026, 6:19:23 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses