CVE-2026-114140
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the result to the intended directory. When a victim converts a malicious notebook with the markdown, LaTeX, reStructuredText, or AsciiDoc exporter, path traversal in the output filename can write attacker-controlled output data to arbitrary locations accessible to the victim. Running the notebook cell again replaces the malicious output metadata, but merely converting the supplied notebook does not. This issue is fixed in version 7.17.2.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
- First covered by RedTeamDaily
Source evidence and freshness
Lifecycle: Awaiting Analysis. Technical severity: CVSS 4.0 · Provider: not recorded. Exploitation evidence and inventory applicability are separate assessments.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
No affected-version rules are available. Applicability remains unknown.
Remediation by product and branch
Remediation information is unavailable in structured coverage. Check the primary references; no fixed version is inferred.
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Coverage
Ubuntu notice USN-9230-1 covers two nbconvert vulnerabilities
Ubuntu notice USN-9230-1 describes two nbconvert issues. CVE-2021-32862 is a cross-site scripting flaw caused by inadequate sanitisation when notebooks are converted to HTML. CVE-2026-114140 lets output file names in notebook metadata be used to write arbitrary files, and it affects only Ubuntu 20.04 LTS and 22.04 LTS. Both require a user to convert a malicious notebook.
Sources: NVD and CISA known exploited vulnerabilities catalogue.