CVE-2026-39377 json
nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
published 2026-04-21 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-24023 , GHSA-4c99-qj7h-p3vg , PYSEC-2026-2229
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi nbconvert 7.17.1
- jupyter nbconvert 7.17.1
- nbconvert Debian 13 7.16.6-1+deb13u1
- nbconvert Debian 14 7.17.1-1
debian advisories DEBIAN-CVE-2026-39377
- python-nbconvert openSUSE Tumbleweed 7.17.1-1.1
opensuse advisories openSUSE-SU-2026:10603-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-39377 updated cvss 6.5
nbconvert: nbconvert: Arbitrary file write via crafted Jupyter notebook cell attachment filenames
-
Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9, rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9, rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9, +11 moreaffected: no fix available “Fix deferred”
-
Red Hat Satellite 6 satellite/iop-advisor-engine-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nbconvert | >=6.5.0, <7.17.1 |
7.17.1 |
Affected products
- jupyter nbconvert
Classification
References
-
github.com
/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg
web, mitigation, vendor-advisory, advisory
-
github.com
/jupyter/nbconvert/releases/tag/v7.17.1
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2026-39377
advisory
-
github.com
/jupyter/nbconvert
package
Sources
- CVE List CVE-2026-39377
- GitHub Advisory GHSA-4c99-qj7h-p3vg
- NVD CVE-2026-39377
- OSV PYSEC-2026-2229
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.