{"id":"CVE-2026-114140","title":"nbconvert: nbconvert: arbitrary file write via path traversal in ExtractOutputPreprocessor (CVE-2026-114140)","summary":"A flaw was found in nbconvert. This flaw allows an attacker to perform an arbitrary file write by enticing a user to convert a maliciously crafted Jupyter notebook. Due to improper path validation in ExtractOutputPreprocessor, attacker-con…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":"CWE-22","vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","affected":["openshift_ai_rhoai"],"patched":["nbconvert 7.17.2"],"published":"2026-10-21","updated":"2026-10-23","sourceUpdated":"2026-10-23T08:07:35+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114140.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114140.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-114140"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2558555"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-114140"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114140"},{"url":"https://github.com/jupyter/nbconvert/commit/ce4bd99aec31d81d759fa8eeb8643179392ec66f"},{"url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.2"},{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-pjvx-prjx-h659"},{"url":"https://github.com/jupyter/nbconvert"},{"url":"https://github.com/advisories/GHSA-pjvx-prjx-h659"}],"tags":["csaf","vex","red-hat","osv","pip","ghsa","cve.org"],"epss":0.00381,"epssPercentile":0.31946,"aliases":["GHSA-pjvx-prjx-h659"],"ecosystem":"pip","scores":{"vendor":7.8,"cna":8.8},"ingestedAt":"2026-10-21T21:13:32.888Z","slug":"CVE-2026-114140","body":"## Overview\n\nA flaw was found in nbconvert. This flaw allows an attacker to perform an arbitrary file write by enticing a user to convert a maliciously crafted Jupyter notebook. Due to improper path validation in ExtractOutputPreprocessor, attacker-controlled cell output metadata can traverse outside the target directory, allowing arbitrary files to be created or overwritten with the user's privileges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat OpenShift AI (RHOAI) · no fix planned: Red Hat OpenShift AI (RHOAI) · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114140.json)\n\n**nbconvert: nbconvert: arbitrary file write via path traversal in ExtractOutputPreprocessor** — rated Important by Red Hat. Released 2026-10-21, updated 2026-10-23.\n\nAffected:\n\n- Red Hat OpenShift AI (RHOAI)\n\nNo fix planned:\n\n- Red Hat OpenShift AI (RHOAI)\n\nNot affected:\n\n- Red Hat OpenShift AI (RHOAI)\n\n## Remediation\n\nAffected\n\n## Package advisory (CVE-2026-114140)\n\nAffected packages:\n\n- `nbconvert >= 5.4.0, < 7.17.2`\n\nPatched in:\n\n- `nbconvert 7.17.2`\n\nSource: https://osv.dev/vulnerability/GHSA-pjvx-prjx-h659","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":228129,"id":"CVE-2026-114140","ts":1792758124789,"field":"cvss","old":"8.8","new":"7.8"}]}