CVE-2026-111170
CVE-2026-111170 · kedro-datasets 9.3.0 through 9.6.0 Path Traversal via MatplotlibDataset Plot Name
This page contains facts from public vulnerability sources. Check the original advisory before updating.
kedro-datasets from 9.3.0 through 9.6.0 contains a path traversal vulnerability in MatplotlibDataset.save() that allows attackers to write files outside the dataset directory by supplying absolute plot names. Because validate_sub_path() strips leading slashes while pathlib's join discards the base path, attackers can create or overwrite files anywhere the process can write.
CVSS 7.1 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
kedro-datasets
- Versions
- ≥ 9.3.0, ≤ 9.6.0: Affected (semver)
No fix published
kedro-datasets PyPI
- Versions
- 0.0.1
- 0.0.2
- 0.0.3
- 0.0.4
- 0.0.5
- 0.0.6
- 0.0.7
- 1.0.0
- 1.0.1
- 1.0.2
- 1.1.0
- 1.1.1
- 1.2.0
- 1.3.0
- 1.4.0
- 1.4.1
- 1.4.2
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 1.6.0
- 1.7.0
- 1.7.1
- 1.8.0
- 2.0.0
- 2.1.0
- 3.0.0
- 3.0.1
- 4.0.0
- 4.1.0
- 5.0.0
- 5.1.0
- 6.0.0
- 7.0.0
- 8.0.0
- 8.1.0
- 9.0.0
- 9.1.0
- 9.1.1
- 9.2.0
- Affected ranges
- ECOSYSTEM: < 9.3.0
Update to 9.3.0
Original sources
- https://github.com/kedro-org/kedro-plugins/pull/1544
- https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/matplotlib/matplotlib_dataset.py#L198-L201
- https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/_utils/security.py#L22
- https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv
- https://github.com/kedro-org/kedro-plugins
- https://www.vulncheck.com/advisories/kedro-datasets-9.3.0-through-9.6.0-path-traversal-via-matplotlibdataset-plot-name
- https://nvd.nist.gov/vuln/detail/CVE-2026-111170