Vulnerability in Jupyter Nbconvert
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (16.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 16.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: -0.000
Affected products
- Jupyter Nbconvert — versions < 7.17.0
- Microsoft Windows
Weakness classification (CWE)
References
- github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf
- github.com/jupyter/nbconvert/issues/2258
- github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71
- github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbco…
- github.com/jupyter/nbconvert/releases/tag/v7.17.0
- www.imperva.com/blog/code-execution-in-jupyter-notebook-exports (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-53000?
- CVE-2025-53000 is a high-severity vulnerability in Jupyter Nbconvert, classified under Uncontrolled Search Path Element. CVSS score: 7.8/10. Published 2025-12-17.
- How severe is CVE-2025-53000?
- High severity. CVSS v3 base score is 7.8 out of 10.