PyPI: kedro

SFTY-20260331-86513

Safety legacy ID: pyup.io-91156

Affected versions of the Kedro package are vulnerable to path traversal due to unsanitized version strings in versioned dataset path construction. The AbstractVersionedDataset._get_versioned_path() logic used during versioned dataset loading accepted unsafe version components until the fix commit b1a114 added validation that rejects path separators and . or .. path elements. https://github.com/kedro-org/kedro/commit/b1a11422cc3f7f47211065d3da6928e348933c82

Created at: Mar 31, 2026Updated at: Mar 31, 2026

Overview

Affected versions of the Kedro package are vulnerable to path traversal due to unsanitized version strings in versioned dataset path construction. The AbstractVersionedDataset._get_versioned_path() logic used during versioned dataset loading accepted unsafe version components until the fix commit b1a114 added validation that rejects path separators and . or .. path elements. https://github.com/kedro-org/kedro/commit/b1a11422cc3f7f47211065d3da6928e348933c82

Advisory

Affected versions of the Kedro package are vulnerable to path traversal due to unsanitized version strings in versioned dataset path construction. The AbstractVersionedDataset._get_versioned_path() logic used during versioned dataset loading accepted unsafe version components until the fix commit b1a114 added validation that rejects path separators and . or .. path elements. https://github.com/kedro-org/kedro/commit/b1a11422cc3f7f47211065d3da6928e348933c82

Affected Package

Affecting kedro package, versions<1.3.0

Also affects

---

How to Fix

Upgradekedroto1.3.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more