Medium severity6.5NVD Advisory· Published Apr 21, 2026· Updated Apr 23, 2026
CVE-2026-39377
CVE-2026-39377
Description
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions 6.5 through 7.17.0 allow arbitrary file writes to locations outside the intended output directory when processing notebooks containing crafted cell attachment filenames. The ExtractAttachmentsPreprocessor passes attachment filenames directly to the filesystem without sanitization, enabling path traversal attacks. This vulnerability provides complete control over both the destination path and file extension. Version 7.17.1 contains a patch.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nbconvertPyPI | >= 6.5.0, < 7.17.1 | 7.17.1 |
Affected products
9- osv-coords8 versionspkg:apk/chainguard/datahub-ingestion-fipspkg:apk/chainguard/kubeflow-pipelines-visualization-serverpkg:apk/chainguard/tensorflow-cpu-jupyterpkg:apk/chainguard/tensorflow-gpu-jupyterpkg:apk/wolfi/kubeflow-pipelines-visualization-serverpkg:apk/wolfi/tensorflow-cpu-jupyterpkg:pypi/nbconvertpkg:rpm/opensuse/python-nbconvert&distro=openSUSE%20Tumbleweed
< 1.5.0.1-r2+ 7 more
- (no CPE)range: < 1.5.0.1-r2
- (no CPE)range: < 2.16.0-r5
- (no CPE)range: < 2.21.0-r3
- (no CPE)range: < 2.21.0-r3
- (no CPE)range: < 2.16.0-r5
- (no CPE)range: < 2.21.0-r3
- (no CPE)range: >= 6.5.0, < 7.17.1
- (no CPE)range: < 7.17.1-1.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-4c99-qj7h-p3vgghsaADVISORY
- github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vgnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-39377ghsaADVISORY
- github.com/jupyter/nbconvert/releases/tag/v7.17.1nvdProductWEB
News mentions
0No linked articles in our index yet.