CVE-2026-3840: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedro-org kedro-org/kedro
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.
AI Analysis
Technical Summary
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.
CVE-2026-3840: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedro-org 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.