Skip to content
Heist/ feed
High

nbconvert: File write via path traversal in cell output filenames

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-114140

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-114140

nbconvert

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "jupyter",
    "product": "nbconvert",
    "versions": [
      {
        "status": "affected",
        "version": ">= 5.4.0, < 7.17.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-114140

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#49452 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement