{"id":"CVE-2026-39378","aliases":["CVE-2026-39378","GHSA-7jqv-fw35-gmx9","PYSEC-2026-2230"],"related":[],"kind":"vulnerability","state":"published","title":"nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nWhen `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.\n\n## Patches\n\nUpgrade to nbconvert 7.17.1\n\n## Workarounds\n\nDo not enable `HTMLExporter.embed_images` (it is not enabled by default).","format":"markdown","source":"ghsa"},{"lang":"es","text":"La herramienta nbconvert, jupyter nbconvert, convierte cuadernos Jupyter a varios otros formatos a través de plantillas Jinja. En las versiones 6.5 a 7.17.0, cuando HTMLExporter.embed_images=True, el renderizador markdown de nbconvert permite la lectura arbitraria de archivos a través de salto de ruta en referencias de imagen. Un cuaderno malicioso puede exfiltrar archivos sensibles del host de conversión incrustándolos como URIs de datos base64 en el HTML de salida. nbconvert 7.17.1 contiene una corrección. Como solución alternativa, no habilite HTMLExporter.embed_images; no está habilitado por defecto.","source":"nvd"}],"published":"2026-04-21T00:17:00.684Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-23","CWE-73"],"affected":[{"ranges":[{"version":">= 6.5, < 7.17.1","status":"affected"}],"vendor":"jupyter","product":"nbconvert","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.5.0","status":"affected","fixed":"7.17.1"}],"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"6.5.0","fixed":"7.17.1"}],"vendor":"jupyter","product":"nbconvert","cpe":"cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"6.5.0","status":"affected","fixed":"7.17.1"}],"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","source":"pysec"}],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.1","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39378","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jupyter/nbconvert","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-21T13:43:09.070Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39378","url":"https://www.cve.org/CVERecord?id=CVE-2026-39378","licence":"CVE Terms of Use","modified":"2026-04-21T13:43:29.081Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7jqv-fw35-gmx9","url":"https://github.com/advisories/GHSA-7jqv-fw35-gmx9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:43.685Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39378","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39378","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2230","url":"https://osv.dev/vulnerability/PYSEC-2026-2230","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:37.724Z"}],"updatedAt":"2026-11-25T22:59:19.078Z","epss":{"score":0.00312,"percentile":0.25961,"date":"2026-12-01T12:00:22.000Z"}}