Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Kedro | 1.2.0 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/156dead0-1ad5-487f-b7f5-84e707277f76ExploitThird Party Advisory
- https://huntr.com/bounties/156dead0-1ad5-487f-b7f5-84e707277f76ExploitThird Party Advisory
FAQ
What is CVE-2026-3840?
CVE-2026-3840 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 interpolate...
How severe is CVE-2026-3840?
CVE-2026-3840 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-3840?
Check the references section above for vendor advisories and patch information. Affected products include: Linuxfoundation Kedro.