CVE-2026-39377
MEDIUMnbconvert 6.5-7.17.0 Cell Attachments - Arbitrary File Write
Title source: manualDescription
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.
References (2)
Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/jupyter/nbconvert/releases/tag/v7.17.1
X_Refsource_Confirm x_refsource_confirm
https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg
Scores
CVSS v3
6.5
EPSS
0.0027
EPSS Percentile
17.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
CWE-73
Status
published
Products (3)
jupyter/nbconvert
6.5.0 - 7.17.1
jupyter/nbconvert
>= 6.5, < 7.17.1
pypi/nbconvert
6.5.0 - 7.17.1PyPI
Published
Apr 21, 2026
Tracked Since
Apr 21, 2026