# CVE-2026-39378: nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-04-21T00:17:00.684Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-7jqv-fw35-gmx9, PYSEC-2026-2230
- Weaknesses: CWE-22, CWE-23, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jupyter nbconvert: >= 6.5, < 7.17.1; from 6.5.0 before 7.17.1
- nbconvert (PyPI): from 6.5.0 before 7.17.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/jupyter/nbconvert/releases/tag/v7.17.1> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39378> (advisory)
- <https://github.com/jupyter/nbconvert> (package)

## Sources

- CVE List: [CVE-2026-39378](https://www.cve.org/CVERecord?id=CVE-2026-39378), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-7jqv-fw35-gmx9](https://github.com/advisories/GHSA-7jqv-fw35-gmx9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-39378](https://nvd.nist.gov/vuln/detail/CVE-2026-39378), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2230](https://osv.dev/vulnerability/PYSEC-2026-2230), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-39378 · Whole record: https://cve.day/CVE-2026-39378.json · Rebuilt by cve.day 2026-11-25T22:59:19.078Z
