ADVISORIES

Vulnerability

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.

13 advisories report this vulnerability, across 7 ecosystems.

Advisories in PyPI

  • GHSA-4c99-qj7h-p3vg

    nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames

    Moderate CVE-2026-39377 PyPI Updated 10 September 2026
  • PYSEC-2026-2229

    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…

    CVE-2026-39377 PyPI Updated 13 July 2026

References