CVE 6.5 MEDIUM

nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames_CVE-2026-39377

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

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.

Basic Information

ID CVE-2026-39377
Source GitHub_M
Published Apr 21, 2026 at 00:14

Affected Product

Vendor jupyter
Product nbconvert
Version >= 6.5, < 7.17.1
Affected Versions jupyter nbconvert >= 6.5, < 7.17.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.