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.
Published: 2026-10-15
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Kedro-org
Kedro-org kedro-datasets
Vendors & Products Kedro-org
Kedro-org kedro-datasets

Wed, 21 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 15 Oct 2026 19:00:00 +0000

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'}


Subscriptions

Kedro-org Kedro-datasets
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T01:30:43.369Z

Reserved: 2026-10-15T17:04:06.935Z

Link: CVE-2026-111170

cve-icon Vulnrichment

Updated: 2026-10-21T01:30:39.108Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:33.153

Modified: 2026-10-21T02:17:04.873

Link: CVE-2026-111170

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T22:36:44Z

Weaknesses
  • CWE-22

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