Vulnerability
CVE-2025-53000
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions of nbconvert up to and including 7.16.6 on Windows have a vulnerability in which converting a notebook containing SVG output to a PDF results in unauthorized code execution. Specifically, a third party can create a `inkscape.bat` file that defines a Windows batch script, capable of arbitrary code execution. When a user runs `jupyter nbconvert --to pdf` on a notebook containing SVG output to a PDF on a Windows platform from this directory, the `inkscape.bat` file is run unexpectedly. This issue has been patched in version 7.17.0.
22 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2rh7-w69f-44c3
- CGA-3354-hm2v-v783
- CGA-4x67-369j-hx66
- CGA-6q94-xcvx-rvvw
- CGA-77q2-6g64-vfw9
- CGA-7xv7-7cgc-2xrx
- CGA-9h9q-qp88-pj46
- CGA-cw29-3mr6-375v
- CGA-g3vq-hpmw-3qx8
- CGA-mgvq-3mhf-wcph
- CGA-mr22-m39w-9jmv
- CGA-qcgq-mh33-fjqf
- CGA-vwv8-h35g-rrj8
- CGA-vxp5-xfgx-grcg
- CGA-x8h3-wmq3-vcx4
- CGA-xmj9-r4f4-7h8h
- CGA-xr6m-7x69-p62h
-
DEBIAN-CVE-2025-53000
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions of nbconvert up to and including 7.16.6 on Windows have a vulnerability in which converting a…
-
GHSA-xm59-rqc7-hhvf
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
-
PYSEC-2026-1691
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
-
UBUNTU-CVE-2025-53000
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions of nbconvert up to and including 7.16.6 on Windows have a vulnerability in which converting a…
-
openSUSE-SU-2026:10603-1
jupyter-nbconvert-7.17.1-1.1 on GA media
References
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71
- https://github.com/jupyter/nbconvert/issues/2258
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports