Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-39378 EUVD-2026-24025GHSA-7jqv-fw35-gmx9PYSEC-2026-2230

nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
jupyter nbconvert >= 6.5, < 7.17.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nbconvert 7.17.1-1 —
Debian 13 nbconvert 7.16.6-1+deb13u1 —
Debian 12 nbconvert No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nbconvert No fix yet —
Ubuntu 26.04 LTS nbconvert No fix yet —
Ubuntu 25.10 nbconvert No fix yet —
Ubuntu 24.04 LTS nbconvert No fix yet —
Ubuntu 22.04 LTS nbconvert No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nbconvert No fix yet —
Ubuntu 18.04 LTS nbconvert No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-nbconvert 7.17.1-1.1 openSUSE-SU-2026:10603-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-pipelines-visualization-server 2.16.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nbconvert >= 6.5.0, < 7.17.1 7.17.1 GHSA-7jqv-fw35-gmx9

Advisories 1

References