nbconvert — security advisory
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.
- Products
- nbconvert
- Affected versions
- 6.5.3-3, 6.5.3-4, 6.5.3-5, 7.16.4-1, 7.16.4-2, 7.16.5-1, 7.16.6-1, 7.16.6-1+deb13u1, 7.17.0-1, 7.17.1-1, 7.17.1-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-114140
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:57 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-114140
nbconvert
Fixed versions: Not specified
nbconvert
Fixed versions: Not specified
nbconvert
Fixed versions: Not specified
Complete source record
{
"id": "85ed6a5b014abf0599ac8305e9982544d9716044c38a1ba50452b0f879853cb6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-114140",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-114140",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-114140",
"products": [
{
"name": {
"value": "nbconvert",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.3-3",
"evidence": "/affected/0/versions"
},
{
"value": "6.5.3-4",
"evidence": "/affected/0/versions"
},
{
"value": "6.5.3-5",
"evidence": "/affected/0/versions"
},
{
"value": "7.16.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.16.4-2",
"evidence": "/affected/0/versions"
},
{
"value": "7.16.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.16.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.17.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.17.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.17.1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nbconvert",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.16.6-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.16.6-1+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "7.17.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.17.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.17.1-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nbconvert",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.16.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "7.17.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "7.17.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "7.17.1-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-114140",
"aliases": [
"DEBIAN-CVE-2026-114140"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nbconvert",
"purl": "pkg:deb/debian/nbconvert?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"6.5.3-3",
"6.5.3-4",
"6.5.3-5",
"7.16.4-1",
"7.16.4-2",
"7.16.5-1",
"7.16.6-1",
"7.17.0-1",
"7.17.1-1",
"7.17.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-114140.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nbconvert",
"purl": "pkg:deb/debian/nbconvert?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"7.16.6-1",
"7.16.6-1+deb13u1",
"7.17.0-1",
"7.17.1-1",
"7.17.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-114140.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nbconvert",
"purl": "pkg:deb/debian/nbconvert?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"7.16.6-1",
"7.17.0-1",
"7.17.1-1",
"7.17.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-114140.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-31T09:47:26.516927003Z",
"provider": "osv",
"upstream": [
"CVE-2026-114140"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-114140"
]
},
"related_cves": [
{
"value": "CVE-2026-114140",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 424307,
"published_at": "2026-10-21T21:17:56.52+00:00"
}