HIGHCVSS v4 8.8Vulnerability

CVE-2026-114140

### Summary nbconvert <= v7.17.1 has an arbitrary file write vulnerability due to a path traversal in ipynb cell output metadata, more specifically on the filename attribute. Vulnerable converters : `--to markdown`, `--to latex`, `--to rst`, `--to asciidoc`. In `ExtractOutputPreprocessor`, `extractoutput.py:116-119` joins attacker-controlled `path` to `output_files_dir` with no canonicalization check, enabling arbitrary file write. This is a sibling vulnerability of https://github.com/advisories/GHSA-4c99-qj7h-p3vg. ### Impact If a victim runs nbconvert on a malicious ipynb file, it can create some files with arbitrary data in arbitrary locations, i.e. override authorized_keys. Note that running the cell with jupyter overrides the output, so it would "clean up" malicious cells. ### PoC In a ipynb file: ```json "cells": [{ "cell_type": "code", "id": "abc123", "execution_count": 1, "metadata": {}, "source": "# PoC", "outputs": [{ "output_type": "display_data", "metadata": { "filename": "../../../tmp/PWNED.png" # ← traverses outside output_dir }, "data": { # minimal valid PNG (1×1 pixel) "image/png": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==" } }] }] ``` ### Patches Fixed in - https://github.com/jupyter/nbconvert/commit/ce4bd99aec31d81d759fa8eeb8643179392ec66f - [7.17.2](https://github.com/jupyter/nbconvert/releases/tag/v7.17.2)

Properties

Severity
high
Summary
nbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidoc
Nvd fetched at
2026-10-22T22:14:18.200859+00:00
Epss score
0.00313
Cvss severity
HIGH
Cvss score
8.8
Retrieved at
2026-10-22T22:17:33+00:00
Ghsa published
2026-10-22T16:23:28Z
Source url
https://github.com/advisories/GHSA-pjvx-prjx-h659
Ghsa updated
2026-10-22T16:23:29Z
Ghsa id
GHSA-pjvx-prjx-h659
Last source
FIRST EPSS
Score
8.8
Cvss version
4.0
Cve id
CVE-2026-114140
Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
First seen by Signal
2026-10-21T22:34:38+00:00
Is ghsa only
false
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published at
2026-10-21T21:17:56.520

Related Entities (3)

AFFECTS (1)

→[Software]pip/nbconvert

VULNERABLE_TO (1)

←[Software]pip/nbconvert

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-114140 (CVSS v4 8.8) — Ninja Signal Threat Intelligence | Ninja Signal