{"id":"CVE-2026-39378","published":"2026-04-21T00:17:00Z","modified":"2026-04-21T13:43:29Z","title":"nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding","vendor":"jupyter","product":"nbconvert","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00312,"percentile":0.24685,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.1","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.94},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"jupyter","affectedVersions":[{"vendor":"jupyter","product":"nbconvert","versions":[">= 6.5, < 7.17.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T13:43:09.070985Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nbconvert","vulnerableRanges":[">=6.5.0, <7.17.1"],"patched":["7.17.1"],"from":["GHSA-7jqv-fw35-gmx9","PYSEC-2026-2230"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal in nbconvert's HTMLExporter image embedding (the markdown renderer), affecting versions 6.5 through 7.17.0 when HTMLExporter.embed_images is enabled. An attacker who can get a malicious notebook converted on the host can read arbitrary local files, which are exfiltrated as base64 data URIs in the output HTML, and this requires only that a victim perform the conversion (user interaction), with no network access or authentication needed beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:11Z"},"euvd":{"id":"EUVD-2026-24025","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32862","published":"2022-08-18","fixed":"6.5.1","kev":false},{"cve":"CVE-2025-53000","published":"2025-12-17","fixed":"7.17.0","kev":false,"link":{"from":"CVE-2025-53000","to":"CVE-2026-39378","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nbconvert","fromFixed":"7.17.0","toFixed":"7.17.1","daysApart":125}]}},{"cve":"CVE-2026-39377","published":"2026-04-21","fixed":"7.17.1","kev":false},{"cve":"CVE-2026-39378","published":"2026-04-21","fixed":"7.17.1","kev":false},{"cve":"CVE-2026-114140","published":"2026-10-21","fixed":"7.17.2","kev":false,"link":{"from":"CVE-2026-39378","to":"CVE-2026-114140","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nbconvert","fromFixed":"7.17.1","toFixed":"7.17.2","daysApart":183}]}}],"package":"PyPI:nbconvert"}}