CVE-2026-39377

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*

History

23 Apr 2026, 17:51

Type Values Removed Values Added
CPE cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*
References () https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 - () https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 - Product
References () https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg - () https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg - Mitigation, Vendor Advisory
First Time Jupyter nbconvert
Jupyter

21 Apr 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-21 01:16

Updated : 2026-04-23 17:51


NVD link : CVE-2026-39377

Mitre link : CVE-2026-39377

CVE.ORG link : CVE-2026-39377


JSON object : View

Products Affected

jupyter

  • nbconvert
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73

External Control of File Name or Path