Skip to content
MediumVulnerability

CVE-2026-39378: nbconvert arbitrary file read through path traversal in image references

Identifier
CVE-2026-39378
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-39378 affects the nbconvert tool, which converts Jupyter notebooks to other formats through Jinja templates, in versions 6.5 through 7.17.0. When HTMLExporter.embed_images is set to True, the markdown renderer allows arbitrary file read through 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.

Mitigation

Fixed in nbconvert 7.17.1. As a workaround, do not enable HTMLExporter.embed_images; it is not enabled by default.