Directory Traversal Affecting nbconvert package, versions <7.17.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NBCONVERT-16119136
  • published22 Apr 2026
  • disclosed21 Apr 2026

Introduced: 21 Apr 2026

CVE-2026-39378  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade Debian:unstable nbconvert to version 7.17.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nbconvert package and not the nbconvert package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1