CVE-2026-39377

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

MEDIUM
6.5
CVSS Score
Published: April 21, 2026 at 12:14 AM UTC
Updated: October 26, 2026 at 10:10 PM UTC
1 product affected across 1 vendorNbconvert

Using nbconvert by jupyter?

Get instant alerts when new vulnerabilities affect nbconvert - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.5.0 ≤ v < 7.17.1
Affected range stops below 7.17.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg
x_refsource_MISCProduct
Source: cverecord
https://github.com/jupyter/nbconvert/releases/tag/v7.17.1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22CWE-73

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card