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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.5 · jupyterNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*
References 2
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 Product
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg Mitigation, Vendor Advisory