{"id":"CVE-2026-35492","aliases":["CVE-2026-35492","GHSA-cjg8-h5qc-hrjv","PYSEC-2026-2545"],"related":["CVE-2026-111170"],"kind":"vulnerability","state":"published","title":"Kedro-Datasets has a path traversal vulnerability in PartitionedDataset allows arbitrary file write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nPartitionedDataset 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.\nUsers of PartitionedDataset with any storage backend (local filesystem, S3, GCS, etc.) are affected.\n\n### Patches\nYes. The vulnerability has been patched in kedro-datasets version 9.3.0.\nUsers 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.\n\n### Workarounds\nUsers who cannot upgrade should validate partition IDs before passing them to PartitionedDataset, ensuring they do not contain `..` path components.\n\n### References\nFix: https://github.com/kedro-org/kedro-plugins/pull/1346\nReport: https://github.com/kedro-org/kedro/issues/5452","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-06T17:55:14.000Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 9.3.0","status":"affected"}],"vendor":"kedro-org","product":"kedro-plugins","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.3.0"}],"ecosystem":"PyPI","package":"kedro-datasets","purl":"pkg:pypi/kedro-datasets","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.3.0"}],"ecosystem":"PyPI","package":"kedro-datasets","purl":"pkg:pypi/kedro-datasets","source":"pysec"}],"references":[{"url":"https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/kedro-org/kedro/issues/5452","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/kedro-org/kedro-plugins/pull/1346","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35492","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/kedro-org/kedro-plugins/commit/65115f76b872217317734b6bde8927170c98fc4b","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/kedro-org/kedro-plugins","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/kedro-org/kedro-plugins/releases/tag/kedro-datasets-9.3.0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/kedro-datasets","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-cjg8-h5qc-hrjv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-08T14:49:49.907Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35492","url":"https://www.cve.org/CVERecord?id=CVE-2026-35492","licence":"CVE Terms of Use","modified":"2026-04-08T14:50:03.601Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cjg8-h5qc-hrjv","url":"https://github.com/advisories/GHSA-cjg8-h5qc-hrjv","licence":"CC-BY-4.0","modified":"2026-10-16T10:55:54.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35492","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35492","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2545","url":"https://osv.dev/vulnerability/PYSEC-2026-2545","licence":"CC-BY-4.0","modified":"2026-10-16T10:55:54.308Z"}],"updatedAt":"2026-11-25T22:59:18.120Z","epss":{"score":0.00398,"percentile":0.36163,"date":"2026-12-01T12:00:22.000Z"}}