CVE-2026-39378 Details
Description
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.
A path traversal vulnerability allowing arbitrary file read has been identified in the Jupyter Nbconvert tool, specifically in versions 6.5 prior to 7.17.1. When the HTML Exporter option to embed images is enabled, the markdown renderer can be exploited to read sensitive files from the host machine. This is achieved by embedding the files as base64 data URIs in the generated HTML output. The vulnerability arises from the markdown renderer's handling of image references, which can be manipulated to traverse file paths and access unauthorized files.
Users can upgrade to Jupyter Nbconvert version 7.17.1, which addresses this vulnerability. Alternatively, the 'HTMLExporter.embed_images' option can be disabled, as it is not enabled by default.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 | [email protected] | Product |
| https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jupyter nbconvert | >= 6.5.0, < 7.17.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 21, 2026 | New CVE Received | [email protected] |