nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jupyterlab | nbconvert | 6.5 to before 7.17.1 | 7.17.1 | Patch available | CNA |
| — | nbconvert (PyPI) | 6.5.0 to before 7.17.1 | 7.17.1 | Patch available | GHSA-7jqv-fw35-gmx9 |
- nbconvert Vendorjupyterlab Affected 6.5 to before 7.17.1 Fixed in 7.17.1 Patch available CNA
- nbconvert (PyPI) Vendor— Affected 6.5.0 to before 7.17.1 Fixed in 7.17.1 Patch available GHSA-7jqv-fw35-gmx9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* | 6.5.0 to before 7.17.1 | Vulnerable | jupyterlab |
- cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* Versions 6.5.0 to before 7.17.1 Vulnerable ·jupyterlab
Remediation
- Fix · CNA nbconvert (jupyter) Fixed in 7.17.1
- Fix · GHSA-7jqv-fw35-gmx9 nbconvert (PyPI) Fixed in 7.17.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Migration Toolkit for Applications 8
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39378
- 2026-10-03 Alias added: GHSA-7jqv-fw35-gmx9
References
More jupyterlab Nbconvert vulnerabilities
- TI-2025-33005 nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows CVSS 4.0HIGH 8.5
- TI-2021-12526 nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths CVSS 3.1HIGH 7.5
- TI-2026-28363 nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-39378 · CVE Program
- CVE-2026-39378 · NVD
- FIRST EPSS
- GHSA-7jqv-fw35-gmx9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-39378 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences