{"id":"CVE-2026-35167","aliases":["CVE-2026-35167","GHSA-6326-w46w-ppjw","PYSEC-2026-71"],"related":[],"kind":"vulnerability","state":"published","title":"Kedro has a path traversal in versioned dataset loading via unsanitized version string","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe `_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.\n\n### Patches\nYes. Fixed in kedro version 1.3.0. Users should upgrade to kedro >= 1.3.0.\n\n### Workarounds\nValidate version strings before passing them to DataCatalog or the CLI, ensuring they do not contain `..` segments, path separators, or absolute paths.","format":"markdown","source":"ghsa"},{"lang":"es","text":"pendiente...","source":"nvd"}],"published":"2026-04-03T03:46:48.000Z","modified":"2026-10-23T23:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.3.0","status":"affected"}],"vendor":"kedro-org","product":"kedro","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"PyPI","package":"kedro","purl":"pkg:pypi/kedro","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"linuxfoundation","product":"kedro","cpe":"cpe:2.3:a:linuxfoundation:kedro:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"PyPI","package":"kedro","purl":"pkg:pypi/kedro","source":"pysec"}],"references":[{"url":"https://github.com/kedro-org/kedro/security/advisories/GHSA-6326-w46w-ppjw","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/kedro-org/kedro/pull/5442","tags":["issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35167","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kedro-org/kedro","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/kedro/PYSEC-2026-71.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T14:36:23.631Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35167","url":"https://www.cve.org/CVERecord?id=CVE-2026-35167","licence":"CVE Terms of Use","modified":"2026-04-07T14:36:34.218Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6326-w46w-ppjw","url":"https://github.com/advisories/GHSA-6326-w46w-ppjw","licence":"CC-BY-4.0","modified":"2026-06-06T00:30:08.726Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35167","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35167","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-71","url":"https://osv.dev/vulnerability/PYSEC-2026-71","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:03.261Z"}],"updatedAt":"2026-11-25T22:59:18.047Z","epss":{"score":0.0034,"percentile":0.29472,"date":"2026-12-01T12:00:22.000Z"}}