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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyter | nbconvert | >= 5.4.0, < 7.17.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nbconvert | 7.17.2-1 | — |
| Debian 13 | nbconvert | No fix yet | — |
| Debian 12 | nbconvert | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nbconvert | No fix yet | — |
| Ubuntu 26.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 24.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 22.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 20.04 LTS | nbconvert | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nbconvert | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-nbconvert | 7.17.2-1.1 | openSUSE-SU-2026:12556-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.17.2-r9 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
federiconbaez/cortex9-nbconvert-output-filename-traversal-model ★ 0 · Nov 9, 2026
Offline educational model of CVE-2026-114140 (nbconvert output filename path traversal)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | nbconvert | >= 5.4.0, < 7.17.2 | 7.17.2 | GHSA-pjvx-prjx-h659 |
Advisories 1
- openSUSE-SU-2026:12556-1 jupyter-nbconvert-7.17.2-1.1 on GA media SUSE / openSUSE Security Updates · Nov 14, 2026