Skip to main content
← All vulnerabilities
CVE-2026-39378GHSA-7JQV-FW35-GMX9PYSEC-2026-2230

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.17.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • jupyter nbconvert

    From 6.5 · fixed in 7.17.1

  • nbconvertPyPI

    From 6.5.0 · fixed in 7.17.1

References 2

GitHub · jupyter/nbconvert