PT-2026-33878 · Nbconvert · Nconvert

Published

2026-04-21

·

Updated

2026-05-11

·

CVE-2026-39377

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions nbconvert versions 6.5 through 7.17.0
Description The nbconvert tool converts Jupyter notebooks to various formats using Jinja templates. A path traversal issue exists where the ExtractAttachmentsPreprocessor function passes attachment filenames directly to the filesystem without sanitization. This allows arbitrary file writes to locations outside the intended output directory, providing complete control over the destination path, filename, and file extension.
Recommendations Update to version 7.17.1. As a temporary workaround, disable the ExtractAttachmentsPreprocessor by setting c.ExtractAttachmentsPreprocessor.enabled = False.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-39377
GHSA-4C99-QJ7H-P3VG
OESA-2026-2195
OESA-2026-2196
OESA-2026-2215
OPENSUSE-SU-2026:10603-1

Affected Products

Nconvert