CVE Catalog

CVE-2026-39378

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

In nbconvert versions 6.5 through 7.17.0, when HTMLExporter.embed_images=True, the 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. Version 7.17.1 contains a fix.

Risk Assessment

A person converting a malicious notebook may expose confidential files from the system running nbconvert. This can lead to data leakage and confidentiality breach.

Recommendation

Upgrade nbconvert to version 7.17.1 or later. As a workaround, do not enable HTMLExporter.embed_images (disabled by default).

Other vulnerabilities in nbconvert

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS