CVE-2026-35492
JSON

6.5medium

Kedro-Datasets has a path traversal vulnerability in PartitionedDataset allows arbitrary file write

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cjg8-h5qc-hrjvPYSEC-2026-2545

Description

Kedro-Datasets is a Kendo plugin providing data connectors. Prior to 9.3.0, PartitionedDataset in kedro-datasets was vulnerable to path traversal. Partition IDs were concatenated directly with the dataset base path without validation. An attacker or malicious input containing .. components in a partition ID could cause files to be written outside the configured dataset directory, potentially overwriting arbitrary files on the filesystem. Users of PartitionedDataset with any storage backend (local filesystem, S3, GCS, etc.) are affected. This vulnerability is fixed in 9.3.0.

Affected

Product or packageVersionsReported by
kedro-org kedro-plugins< 9.3.0CVE List
kedro-datasets (PyPI)before 9.3.0GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Kedro-Datasets is a Kendo plugin providing data connectors. Prior to 9.3.0, PartitionedDataset in kedro-datasets was vulnerable to path traversal. Partition IDs were concatenated directly with the dataset base path without validation. An attacker or malicious input containing .. components in a partition ID could cause files to be written outside the configured dataset directory, potentially overwriting arbitrary files on the filesystem. Users of PartitionedDataset with any storage backend (local filesystem, S3, GCS, etc.) are affected. This vulnerability is fixed in 9.3.0.

GitHub Advisory Database
Impact

PartitionedDataset in kedro-datasets was vulnerable to path traversal. Partition IDs were concatenated directly with the dataset base path without validation. An attacker or malicious input containing .. components in a partition ID could cause files to be written outside the configured dataset directory, potentially overwriting arbitrary files on the filesystem. Users of PartitionedDataset with any storage backend (local filesystem, S3, GCS, etc.) are affected.

Patches

Yes. The vulnerability has been patched in kedro-datasets version 9.3.0. Users should upgrade to kedro-datasets >= 9.3.0. The fix normalizes constructed paths using posixpath.normpath and validates that the resolved path remains within the dataset base directory before use, raising a DatasetError if the path escapes the base directory.

Workarounds

Users who cannot upgrade should validate partition IDs before passing them to PartitionedDataset, ensuring they do not contain .. path components.

References

Fix: https://github.com/kedro-org/kedro-plugins/pull/1346 Report: https://github.com/kedro-org/kedro/issues/5452

NVD (es)

Kedro-Datasets es un plugin de Kendo que proporciona conectores de datos. Antes de la versión 9.3.0, PartitionedDataset en kedro-datasets era vulnerable a salto de ruta. Los ID de partición se concatenaban directamente con la ruta base del conjunto de datos sin validación. Un atacante o una entrada maliciosa que contenga componentes ’..’ en un ID de partición podría causar que se escribieran archivos fuera del directorio configurado del conjunto de datos, sobrescribiendo potencialmente archivos arbitrarios en el sistema de archivos. Los usuarios de PartitionedDataset con cualquier backend de almacenamiento (sistema de archivos local, S3, GCS, etc.) se ven afectados. Esta vulnerabilidad está corregida en la versión 9.3.0.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-35492 changed 2026-04-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-cjg8-h5qc-hrjv changed 2026-10-16CC-BY-4.0
NVDCVE-2026-35492 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-2545 changed 2026-10-16CC-BY-4.0