CVE-2025-53000
published 2025-12-17CVE-2025-53000: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions of nbconvert up to and including…
PriorityP342high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.24%
15.5th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | nbconvert | — | — |
| jupyter | nbconvert | < 7.17.0 | 7.17.0 |
| jupyter | nbconvert | <= 7.16.6 | — |
| jupyter | nbconvert | >= 0 < 7.17.0 | 7.17.0 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv4.08.5HIGHCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv8.5HIGH
vendor_debian8.5LOW
vendor_redhat8.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
nbconvert: nbconvert: Arbitrary code execution via malicious SVG to PDF conversion on Windows
vendor_redhat·2025-12-17·CVSS 8.5
CVE-2025-53000 [HIGH] CWE-427 nbconvert: nbconvert: Arbitrary code execution via malicious SVG to PDF conversion on Windows
nbconvert: nbconvert: Arbitrary code execution via malicious SVG to PDF conversion on Windows
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.
A flaw was found in nbconvert, specifically in t
Debian
CVE-2025-53000: nbconvert - The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various oth...
vendor_debian·2025·CVSS 8.5
CVE-2025-53000 [HIGH] CVE-2025-53000: nbconvert - The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various oth...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
GHSA
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
ghsa·2025-12-18
CVE-2025-53000 [HIGH] CWE-427 nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
### Summary
On Windows, 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](https://en.wikipedia.org/wiki/Batch_file), 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.
### Details
_Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._
`nbconvert` searches for an `inkscape` executable when converting notebooks to PDFs here: https
OSV
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
osv·2025-12-18
CVE-2025-53000 [HIGH] nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
### Summary
On Windows, 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](https://en.wikipedia.org/wiki/Batch_file), 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.
### Details
_Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._
`nbconvert` searches for an `inkscape` executable when converting notebooks to PDFs here: https
OSV
CVE-2025-53000: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates
osv·2025-12-17·CVSS 8.5
CVE-2025-53000 [HIGH] CVE-2025-53000: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates
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.
OSV
CVE-2025-53000: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates
osv·2025-12-17·CVSS 8.5
CVE-2025-53000 [HIGH] CVE-2025-53000: The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates
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. As of time of publication, no known patches exist.
No detection rules found.
No public exploits indexed.
https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71https://github.com/jupyter/nbconvert/issues/2258https://github.com/jupyter/nbconvert/releases/tag/v7.17.0https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvfhttps://www.imperva.com/blog/code-execution-in-jupyter-notebook-exportshttps://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports
2025-12-17
Published