{"id":"CVE-2026-35167","state":"PUBLISHED","title":"Kedro has a path traversal in versioned dataset loading via unsanitized version string","description":"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.","publishedAt":"2026-04-06T17:43:21.922Z","updatedAt":"2026-04-07T14:36:34.218Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["kedro-org kedro"],"affected":[{"vendor":"kedro-org","product":"kedro","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":["https://github.com/kedro-org/kedro/security/advisories/GHSA-6326-w46w-ppjw","https://github.com/kedro-org/kedro/pull/5442"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35167.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35167","state":"PUBLISHED","datePublished":"2026-04-06T17:43:21.922Z","dateUpdated":"2026-04-07T14:36:34.218Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-01T17:26:21.133Z"},"containers":{"cna":{"title":"Kedro has a path traversal in versioned dataset loading via unsanitized version string","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"kedro-org","product":"kedro","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/kedro-org/kedro/security/advisories/GHSA-6326-w46w-ppjw","name":"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","name":"https://github.com/kedro-org/kedro/pull/5442","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T17:43:21.922Z"},"source":{"advisory":"GHSA-6326-w46w-ppjw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T14:36:23.631547Z","id":"CVE-2026-35167","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T14:36:34.218Z"}}]}}}