Skip to content
MediumVulnerability

CVE-2026-39377: nbconvert path traversal via crafted cell attachment filenames

Identifier
CVE-2026-39377
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-39377 affects the nbconvert tool (jupyter nbconvert) in versions 6.5 through 7.17.0. Processing a notebook with crafted cell attachment filenames lets an attacker write files outside the intended output directory, because the ExtractAttachmentsPreprocessor passes those filenames to the filesystem without sanitization. The source says this gives full control over the destination path and file extension.

Mitigation

Fixed in 7.17.1, which contains a patch.