CVE-2026-111170

kedro-datasets 9.3.0 through 9.6.0 Path Traversal via MatplotlibDataset Plot Name

Published Oct 15, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a path traversal flaw in the MatplotlibDataset.save() method of the kedro-datasets library. It lets an attacker provide an absolute plot name that bypasses directory validation, enabling an attacker to write or overwrite files outside the intended dataset directory. This flaw is categorized as CWE-22 and could allow the creation of arbitrary files, including executables or configuration files, potentially leading to further compromise.

Affected Systems

The affected product is kedro-datasets from the kedro-org organization. Versions in the 9.3.0 through 9.6.0 range are vulnerable. No other release or version information is provided in the CVE entry.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high severity. The EPSS score of less than 1% reflects a currently low likelihood of exploitation, but the path traversal flaw does not require any special privileges and could be triggered by any code that calls save() with an attacker-supplied name. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker supplying an absolute plot name to MatplotlibDataset.save(), allowing them to write files to arbitrary locations on the filesystem, which may forge configuration files, inject scripts, or replace legitimate resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade kedro-datasets to a version later than 9.6.0 that includes the patch from pull request 1544.
  • If an upgrade is not immediately possible, replace any usage of MatplotlibDataset.save() with a wrapper that sanitizes plot names or rejects absolute paths before calling the original method.
  • Ensure that the process running the pipeline has the minimum necessary file system permissions, limiting write access to only the intended dataset directories.

Generated by OpenCVE AI on October 16, 2026 at 17:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Kedro-org
Kedro-org kedro-datasets
Vendors & Products Kedro-org
Kedro-org kedro-datasets
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title kedro-datasets 9.3.0 through 9.6.0 Path Traversal via MatplotlibDataset Plot Name
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 21, 2026, 1:30 AM
Reserved
Oct 15, 2026, 5:04 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 21, 2026, 2:17 AM