High severity · published Dec 17, 2025
CVE-2025-53000
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
7.8
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NB
nbconvert · jupyter
< 7.17.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-53000
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-53000
github.com
https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104
github.com
https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71
github.com
https://github.com/jupyter/nbconvert/issues/2258
github.com
https://github.com/jupyter/nbconvert/releases/tag/v7.17.0
github.com
https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf
Exploit
https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports
More from nbconvert
8.8
CVE-2026-114140
nbconvert: File write via path traversal in cell output filenames
6.5
CVE-2026-39378
nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding
6.5
CVE-2026-39377
nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
5.4
CVE-2021-32862
The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert
