CVE-2026-39378
MEDIUM 6.5CVSS 3.1nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding
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.
- Published
- 21 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-7jqv-fw35-gmx9PYSEC-2026-2230
- Sources
- NVDJSONOSV GHSA-7jqv-fw35-gmx9JSONOSV PYSEC-2026-2230JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | nbconvertcpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* |
>= 6.5.0, < 7.17.1 | 7.17.1 |
| OSV | PyPI | nbconvert | >= 6.5.0, < 7.17.1 | 7.17.1 |
References
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 · Product, WEB
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9 · Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-39378 · ADVISORY
- https://github.com/jupyter/nbconvert · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Apr 2026)