Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M

CVE-2026-114140nbconvert: File write via path traversal in cell output filenames

High 8.8

In plain English

A high-severity path traversal in nbconvert from jupyter. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.5%top 60.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nbconvertno fix listedDEBIAN-CVE-2026-114140
Debian:13nbconvertno fix listedDEBIAN-CVE-2026-114140
Debian:14nbconvertno fix listedDEBIAN-CVE-2026-114140
PyPInbconvert7.17.2GHSA-pjvx-prjx-h659
Ubuntu:22.04:LTSnbconvertno fix listedUBUNTU-CVE-2026-114140
Ubuntu:24.04:LTSnbconvertno fix listedUBUNTU-CVE-2026-114140
Ubuntu:26.04:LTSnbconvertno fix listedUBUNTU-CVE-2026-114140
Ubuntu:26.10nbconvertno fix listedUBUNTU-CVE-2026-114140

Affected products (as reported)

VendorProductVersions
jupyter nbconvert >= 5.4.0, < 7.17.2

Weakness: CWE-22 · Vector: 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

References