nbconvert
Affected
- introduced
6.5.0, fixed7.17.1(ecosystem)
Fixed versions
7.17.1
Fix
- Fixed version
7.17.1pip install --upgrade nbconvert==7.17.1
Advisory
Also known as: CVE-2026-39378, GHSA-7jqv-fw35-gmx9
The record has no summary.
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. In versions 6.5 through 7.17.0, when HTMLExporter.embed_images=True, nbconvert's markdown renderer allows arbitrary file read via path traversal in image references. A malicious notebook can exfiltrate sensitive files from the conversion host by embedding them as base64 data URIs in the output HTML. nbconvert 7.17.1 contains a fix. As a workaround, do not enable HTMLExporter.embed_images; it is not enabled by default.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
6.5.0, fixed 7.17.1 (ecosystem)7.17.1
7.17.1pip install --upgrade nbconvert==7.17.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0