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
In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.
Summary
CVE-2026-111170 affects kedro-datasets (PyPI) 9.3.0 through 9.6.0: Path traversal via absolute plot name (CWE-22). Fixed in 10.0.0. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-10-15 by VulnCheck. Credit: Zachariah Mithani.
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. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade kedro-datasets to 10.0.0 or later. Releases in the affected range (9.3.0 through 9.6.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-10-15 CVE published
References
- 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
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-111170
- Severity
- High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- kedro-datasets
- Ecosystem
- PyPI
- Affected
- 9.3.0 through 9.6.0
- Fixed
- 10.0.0
- Weakness
- CWE-22
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder