{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "9.3.0"
              },
              {
                "last_affected": "9.6.0"
              },
              {
                "fixed": "9.6.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "b211f045df8bd0bda147354b59614ad337a2a741"
            },
            {
              "fixed": "611ce7a20dcb0be655190afb9064468fa278b08c"
            }
          ],
          "repo": "https://github.com/kedro-org/kedro-plugins",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cjg8-h5qc-hrjv"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111170.json"
  },
  "details": "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.",
  "id": "CVE-2026-111170",
  "modified": "2026-10-17T02:31:01.433735508Z",
  "published": "2026-10-15T18:57:55.295Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pypi.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111170.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111170"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kedro-datasets-9.3.0-through-9.6.0-path-traversal-via-matplotlibdataset-plot-name"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kedro-org/kedro-plugins/pull/1544"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kedro-org/kedro-plugins"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/_utils/security.py#L22"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/matplotlib/matplotlib_dataset.py#L198-L201"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "kedro-datasets 9.3.0 through 9.6.0 Path Traversal via MatplotlibDataset Plot Name"
}