{"schemaVersion":3,"id":"CVE-2026-111170","aliases":["GHSA-cjg8-h5qc-hrjv","CVE-2026-35492","PYSEC-2026-2545"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-15T18:57:55.295Z","modified":"2026-10-21T01:30:43.369Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.00389,"percentile":0.31578,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-16T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00389,"percentile":0.31578}],"last30":[{"date":"2026-10-16T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00389,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00389,"percentile":0.31578}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"kedro-org","product":"kedro-datasets","name":"kedro-datasets","label":"kedro-datasets","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.3.0, ≤ 9.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.3.0, ≤ 9.6.0","eol":null,"hubHref":"/vendor/kedro-org/kedro-datasets"},{"vendor":"PyPI","product":"kedro-datasets","name":"kedro-datasets","label":"kedro-datasets","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/kedro-datasets","purlType":"pypi","versions":[{"text":"< 9.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.3.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kedro-org/kedro-plugins/pull/1544","label":"github.com/kedro-org/kedro-plugins/pull/1544","hostname":"github.com","tags":["Issue Tracking","Technical Description","Patch"]},{"url":"https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/matplotlib/matplotlib_dataset.py#L198-L201","label":"github.com/kedro-org/…","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/kedro-org/kedro-plugins/blob/611ce7a20dcb0be655190afb9064468fa278b08c/kedro-datasets/kedro_datasets/_utils/security.py#L22","label":"github.com/kedro-org/…","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv","label":"github.com/kedro-org/kedro-plugins/security/advisories/GHSA-cjg8-h5qc-hrjv","hostname":"github.com","tags":["Related","Vendor Advisory","WEB"]},{"url":"https://github.com/kedro-org/kedro-plugins","label":"github.com/kedro-org/kedro-plugins","hostname":"github.com","tags":["Product","PACKAGE"]},{"url":"https://www.vulncheck.com/advisories/kedro-datasets-9.3.0-through-9.6.0-path-traversal-via-matplotlibdataset-plot-name","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35492","label":"nvd.nist.gov/vuln/detail/CVE-2026-35492","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/kedro-org/kedro/issues/5452","label":"github.com/kedro-org/kedro/issues/5452","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/kedro-org/kedro-plugins/pull/1346","label":"github.com/kedro-org/kedro-plugins/pull/1346","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/kedro-org/kedro-plugins/commit/65115f76b872217317734b6bde8927170c98fc4b","label":"github.com/kedro-org/kedro-plugins/commit/65115f76b872217317734b6bde8927170c98fc4b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/kedro-org/kedro-plugins/releases/tag/kedro-datasets-9.3.0","label":"github.com/kedro-org/kedro-plugins/releases/tag/kedro-datasets-9.3.0","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/kedro-datasets","label":"pypi.org/project/kedro-datasets","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-cjg8-h5qc-hrjv","label":"github.com/advisories/GHSA-cjg8-h5qc-hrjv","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-15T18:57:55.295Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-21T01:30:43.369Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:08:37.707Z","stale":false,"partial":false}}