CVE-2026-3840: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedro-org kedro-org/kedro
Kedro version 1.2.0 contains a path traversal vulnerability in the _get_versioned_path() method, which unsafely incorporates user-supplied version strings into filesystem paths. This flaw also affects the CLI via the --load-versions parameter, allowing crafted input to escape intended directories. Exploitation can lead to unauthorized file reads and cross-project data access.
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 interpolates user-supplied version strings into filesystem paths without sanitization. Additionally, the CLI parameter --load-versions is vulnerable due to lack of validation in _split_load_versions() in kedro/framework/cli/utils.py. This allows an attacker with local privileges to provide crafted version strings to escape the intended versioned dataset directory, potentially reading unauthorized files, causing data poisoning, or accessing data across projects or tenants. The CVSS 3.0 score is 7.1 (High), reflecting local attack vector, low complexity, required privileges, no user interaction, and high confidentiality and integrity impact. No official patch or remediation level has been published yet.
Potential Impact
An attacker with local access and privileges can exploit this vulnerability to perform path traversal attacks by supplying crafted version strings. This can lead to unauthorized reading of files outside the intended dataset directory, data poisoning, and unauthorized cross-project or cross-tenant data access. The integrity and confidentiality of data managed by Kedro can be compromised. There is no indication of availability impact. No known exploits in the wild have been reported.
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 or restrict access to trusted users only. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-3840: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedro-org kedro-org/kedro
Description
Kedro version 1.2.0 contains a path traversal vulnerability in the _get_versioned_path() method, which unsafely incorporates user-supplied version strings into filesystem paths. This flaw also affects the CLI via the --load-versions parameter, allowing crafted input to escape intended directories. Exploitation can lead to unauthorized file reads and cross-project data access.
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 interpolates user-supplied version strings into filesystem paths without sanitization. Additionally, the CLI parameter --load-versions is vulnerable due to lack of validation in _split_load_versions() in kedro/framework/cli/utils.py. This allows an attacker with local privileges to provide crafted version strings to escape the intended versioned dataset directory, potentially reading unauthorized files, causing data poisoning, or accessing data across projects or tenants. The CVSS 3.0 score is 7.1 (High), reflecting local attack vector, low complexity, required privileges, no user interaction, and high confidentiality and integrity impact. No official patch or remediation level has been published yet.
Potential Impact
An attacker with local access and privileges can exploit this vulnerability to perform path traversal attacks by supplying crafted version strings. This can lead to unauthorized reading of files outside the intended dataset directory, data poisoning, and unauthorized cross-project or cross-tenant data access. The integrity and confidentiality of data managed by Kedro can be compromised. There is no indication of availability impact. No known exploits in the wild have been reported.
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 or restrict access to trusted users only. Monitor vendor communications for updates on patches or official mitigations.
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: 06/12/2026, 17:09:40 UTC
Last enriched: 06/19/2026, 18:27:19 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 79
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.