Skip to content
Threat Feed
high advisory

Jupyter nbconvert: Arbitrary file write via path traversal (CVE-2026-114140)

Jupyter nbconvert versions up to 7.17.1 are vulnerable to an arbitrary file write attack via path traversal in malicious notebook cell metadata, allowing execution of arbitrary file writes when exporting to specific formats.

CVE search metadata

CVE search record: CVE-2026-114140. KEV: no. Product: nbconvert (<= 7.17.1). Brief: Jupyter nbconvert: Arbitrary file write via path traversal (CVE-2026-114140). Brief link: https://feed.craftedsignal.io/briefs/2026-10-nbconvert-traversal/

Triage facts

Revision 1
Applicability
nbconvert (<= 7.17.1)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
2 public sources
Freshness
Revision 1Oct 22, 20:03 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

Jupyter nbconvert contains an arbitrary file write vulnerability (CVE-2026-114140) affecting versions 5.4.0 through 7.17.1. The flaw resides in the ExtractOutputPreprocessor component within extractoutput.py. When exporting notebooks to Markdown, LaTeX, reStructuredText (RST), or AsciiDoc, the application fails to sanitize the filename attribute within cell output metadata. An attacker can use path traversal sequences (e.g., ../) in this metadata to write files outside of the intended output directory.

Impact

An attacker can write files to arbitrary locations on the host system where the nbconvert process is running. This can lead to the overwriting of sensitive configuration files, such as SSH authorized_keys, potentially resulting in full system compromise.

Recommendation

  • Upgrade nbconvert to version 7.17.2 or later immediately.
  • Review environments where nbconvert is utilized to process untrusted notebook files.
  • Apply the principle of least privilege by running conversion processes within isolated containers or restricted service accounts that lack write access to sensitive system directories.

Immediate actions

Upgrade nbconvert to version 7.17.2 or later across all environments.

IT Operations 48h

Mitigations

Upgrade nbconvert to version 7.17.2

immediate IT Operations

CVE-2026-114140