High severity · published Oct 21, 2026
CVE-2026-114140
nbconvert: File write via path traversal in cell output filenames
New
8.8
CVSS
0.4%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 32% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NB
nbconvert · jupyter
>= 5.4.0, < 7.17.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-114140
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-114140
github.com
https://github.com/jupyter/nbconvert/commit/ce4bd99aec31d81d759fa8eeb8643179392ec66f
github.com
https://github.com/jupyter/nbconvert/releases/tag/v7.17.2
github.com
https://github.com/jupyter/nbconvert/security/advisories/GHSA-pjvx-prjx-h659
More from nbconvert
7.8
CVE-2025-53000
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates
6.5
CVE-2026-39378
nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding
6.5
CVE-2026-39377
nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
5.4
CVE-2021-32862
The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert
