CVE Catalog

CVE-2026-39377

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

18th percentile - higher than 18% of all known CVEs

Summary

nbconvert versions 6.5 through 7.17.0 allow arbitrary file writes outside the intended output directory when processing notebooks containing crafted cell attachment filenames. ExtractAttachmentsPreprocessor passes attachment filenames directly to the filesystem without sanitization, enabling path traversal attacks with complete control over the destination path and file extension. Version 7.17.1 contains a patch.

Risk Assessment

An attacker could write arbitrary files to any location writable by the nbconvert process, potentially overwriting configuration files or achieving code execution. The risk applies to environments processing untrusted Jupyter notebooks.

Recommendation

Upgrade nbconvert to version 7.17.1 or later. Process untrusted notebooks in an isolated environment with limited write permissions.

Other vulnerabilities in nbconvert

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS