PT-2026-115176 · Pypi · Kedro-Datasets
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
kedro-datasets versions 9.3.0 through 9.6.0
Description
A path traversal issue exists in the
MatplotlibDataset.save() function. This occurs because the validate sub path() function strips leading slashes, but the subsequent pathlib join operation discards the base path when an absolute plot name is provided. This allows an attacker to create or overwrite files outside the intended dataset directory anywhere the process has write permissions.Recommendations
Update kedro-datasets to a version later than 9.6.0.
As a temporary mitigation, avoid providing absolute paths as plot names when using the
MatplotlibDataset.save() function.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Kedro-Datasets