{"id":"CVE-2026-35167","published":"2026-04-06T17:43:21Z","modified":"2026-04-07T14:36:34Z","title":"Kedro has a path traversal in versioned dataset loading via unsanitized version string","vendor":"kedro-org","product":"kedro","tier":"tail","description":{"text":"Kedro is a toolbox for production-ready data science. Prior to 1.3.0, the _get_versioned_path() method in kedro/io/core.py constructs filesystem paths by directly interpolating user-supplied version strings without sanitization. Because version strings are used as path components, traversal sequences such as ../ are preserved and can escape the intended versioned dataset directory.\nThis is reachable through multiple entry points: catalog.load(..., version=...), DataCatalog.from_config(..., load_versions=...), and the CLI via kedro run --load-versions=dataset:../../../secrets. An attacker who can influence the version string can force Kedro to load files from outside the intended version directory, enabling unauthorized file reads, data poisoning, or cross-tenant data access in shared environments. This vulnerability is fixed in 1.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0034,"percentile":0.28009,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/kedro-org/kedro/security/advisories/GHSA-6326-w46w-ppjw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kedro-org/kedro/pull/5442","tags":["x_refsource_MISC"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.6},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"kedro-org","affectedVersions":[{"vendor":"kedro-org","product":"kedro","versions":["< 1.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-07T14:36:23.631547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"kedro","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-6326-w46w-ppjw","PYSEC-2026-71"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-19416","exploited":false,"provenance":"source"}}