Skip to main content
VulnerabilityPublished Updated

CVE-2026-39377: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja

Affects nbconvertSource GCVE Database

0
Compare
Authoritative record:CVE-2026-39377· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium.

Data as of 17 Nov 2026, 20:42 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10nbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=stonkingOther threatsAffected
  • =7.17.0-1
  • =7.17.1-2
Fixed in–
Ubuntu 26.04 LTSnbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=resoluteOther threatsAffected
  • =7.16.6-1
  • =7.17.0-1
Fixed in–
Ubuntu 25.10nbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=questingOther threatsAffected
  • =7.16.6-1
Fixed in–
Ubuntu 22.04 LTSnbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=jammyOther threatsAffected
  • 5.6.1-3 – 6.4.0-1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSnbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=focalOther threatsAffected
  • 5.4-2ubuntu2 – 5.6.1-1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSnbconvertpkg:deb/ubuntu/nbconvert?arch=source&distro=bionicOther threatsAffected
  • =4.2.0-4
  • =5.3.1-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade nbconvert to version 7.17.1 or later, which contains a patch that properly sanitizes attachment filenames to prevent path traversal. No other mitigations are indicated or required as the vulnerability is fixed in this release.

Description

A path traversal vulnerability exists in the nbconvert tool (jupyter nbconvert) versions 6.5 through 7.17.0. This flaw allows arbitrary file writes outside the intended output directory when processing notebooks with crafted cell attachment filenames. The vulnerability arises because the ExtractAttachmentsPreprocessor does not sanitize attachment filenames before writing to the filesystem. Version 7.17.1 includes a patch that fixes this issue.

References

Community reviews

Loading reviews…