Live › vulnerability › CVE-2026-114140
Go to dashboardnbconvert up to 7.17.1 lets a malicious notebook set an output filename with path traversal, so converting it to markdown, LaTeX, rst or asciidoc writes files outside the output directory. An attacker who gets a victim to run nbconvert on a crafted .ipynb can overwrite arbitrary files the victim can write, such as authorized_keys.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-23 19:11 UTC, 3h before NVD. All times on this page are UTC.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| nbconvert | pypi | >= 5.4.0, <= 7.17.1 | 7.17.2 |
pip show nbconvert or python -c "import nbconvert; print(nbconvert.version)"
If the version is 5.4.0 through 7.17.1, you are exposed when converting untrusted notebooks with --to markdown, latex, rst or asciidoc.
7.17.2 or laterEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
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.
In a ipynb file:
"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=="
}
}]
}
Fixed in
This page as .md · .json · in your agent: get_signal("CVE-2026-114140")
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.