CVE-2026-39378 json
nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding
published 2026-04-21 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-24025 , GHSA-7jqv-fw35-gmx9 , PYSEC-2026-2230
- 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 23%
- public exploits
- 0
- none known
Summary
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. In versions 6.5 through 7.17.0, when `HTMLExporter.embed_images=True`, nbconvert's markdown renderer allows arbitrary file read via path traversal in image references. A malicious notebook can exfiltrate sensitive files from the conversion host by embedding them as base64 data URIs in the output HTML. nbconvert 7.17.1 contains a fix. As a workaround, do not enable `HTMLExporter.embed_images`; it is not enabled by default.
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-39378
- 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-39378 updated cvss 5.7
nbconvert: nbconvert: Sensitive file exfiltration via path traversal in image references
-
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: workaround, no fix available “Fix deferred”
-
Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 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.31% chance of exploitation in the next 30 days, higher than 23% 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:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/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-7jqv-fw35-gmx9
web, mitigation, vendor-advisory, advisory
-
github.com
/jupyter/nbconvert/releases/tag/v7.17.1
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2026-39378
advisory
-
github.com
/jupyter/nbconvert
package
Sources
- CVE List CVE-2026-39378
- GitHub Advisory GHSA-7jqv-fw35-gmx9
- NVD CVE-2026-39378
- OSV PYSEC-2026-2230
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.