PT-2026-33878
CVE-2026-39377
·
Published
2026-04-21
·
Updated
2026-10-22
Description by
CVSS 3.1
6.5
MediumMetricsAV: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. Found an issue in the description? Have something to add? Feel free to write us 👾