CVE catalog

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 intende

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannbconvertsid7.17.1-2fixed
Debiannbconvertforky7.17.1-2fixed
Debiannbconverttrixie7.16.6-1+deb13u1fixed
Debiannbconvertbookworm6.5.3-3not affected
CpenbconvertNot reported7.17.1fixed
PyPInbconvertNot reported7.17.1fixed
PyPInbconvertNot reported7.17.1fixed
CpenbconvertNot reported7.17.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannbconvertsourcesid7.17.1-1not yet assignedNot reported[1134889]
Debiannbconvertsourceforky7.17.1-1not yet assignedNot reported[1134889]
Debiannbconvertsourcetrixie7.16.6-1+deb13u1not yet assignedNot reported[1134889]
DebiannbconvertsourcebookwormNot affectedunimportantNot reported[1134889]
CpenbconvertcpeNot reported7.17.1Not reportedNot reportedNot reported
PyPInbconvertPyPINot reported7.17.1Not reportedGHSA-4C99-QJ7H-P3VGNot reported
PyPInbconvertPyPINot reported7.17.1Not reportedPYSEC-2026-2229Not reported
CpenbconvertcpeNot reported7.17.1Not reportedNVD-CVE-2026-39377Not reported

[Debian bug #1134889]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [jupyter-nbconvert]Not affected

    Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

  • [python3-nbconvert]Not affected

    Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

  • [python-nbconvert-doc]Not affected

    Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

    • 6.5.3-3 · all · bookworm

      Not affected

      nvd · nbconvert · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 7.16.6-1+deb13u1

      nvd · nbconvert · debian · 13

Observed:

References