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.
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
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.