CVE-2026-35167
HIGH 8.1CVSS 3.1Kedro: Path Traversal in versioned dataset loading via unsanitized version string
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.
This 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.
- Published
- 6 Apr 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-6326-w46w-ppjwPYSEC-2026-71
- Sources
- NVDJSONOSV GHSA-6326-w46w-ppjwJSONOSV PYSEC-2026-71JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | kedrocpe:2.3:a:linuxfoundation:kedro:*:*:*:*:*:python:*:* |
< 1.3.0 | 1.3.0 |
| OSV | PyPI | kedro | < 1.3.0 | 1.3.0 |
References
- https://github.com/kedro-org/kedro/pull/5442 · Issue Tracking, WEB, REPORT
- https://github.com/kedro-org/kedro/security/advisories/GHSA-6326-w46w-ppjw · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-35167 · ADVISORY
- https://github.com/kedro-org/kedro · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/kedro/PYSEC-2026-71.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2026)