AploSec / Disclosures / CVE-2026-111170
kedro-datasets 9.3.0 through 9.6.0 Path Traversal via MatplotlibDataset Plot Name
CVE-2026-111170 · published 2026-10-15
Summary
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.
Evidence
Reported to the maintainer with a proof of concept that reproduced against the affected release.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- Referencehttps://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/kedro-datasets-9.3.0-through-9.6.0-path-traversal-via-matplotlibdataset-plot-name
- Fix pull requesthttps://github.com/kedro-org/kedro-plugins/pull/1544
- Vulnerable codehttps://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/matplotlib/matplotlib_dataset.py#L198-L201
- Vulnerable codehttps://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/_utils/security.py#L22
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-111170
- Package
- kedro-datasets
- Ecosystem
- PyPI
- Weekly downloads
- 272k
- Affected
- 9.3.0 through 9.6.0
- Fixed
- None
- Weakness
- CWE-22
- CNA
- VulnCheck
- Credit
- Zachariah Mithani