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
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
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
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