Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-114140 EUVD-2026-107551GHSA-pjvx-prjx-h659

nbconvert: File write via path traversal in cell output filenames

Published Oct 21, 2026 · Updated Oct 30, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 nbconvert 7.17.2-1 —
Debian 13 nbconvert No fix yet —
Debian 12 nbconvert No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nbconvert No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-nbconvert 7.17.2-1.1 openSUSE-SU-2026:12556-1

Wolfi

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nbconvert >= 5.4.0, < 7.17.2 7.17.2 GHSA-pjvx-prjx-h659

Advisories 1

References