CVE-2025-53000 nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/nbconvert(Debian 11) | = 5.6.1-3; = 5.6.1-3+deb11u1; = 6.1.0-1; = 6.3.0-1 +15 more | No fix listed | No fix yet |
| debian/nbconvert(Debian 12) | = 6.5.3-3; = 6.5.3-4; = 6.5.3-5; = 7.16.4-1 +4 more | No fix listed | No fix yet |
| debian/nbconvert(Debian 13) | = 7.16.6-1; All versions | No fix listed | No fix yet |
| debian/nbconvert(Debian 14) | = 7.16.6-1; All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| jupyter nbconvert | <= 7.16.6; = < 7.17.0 | after 7.16.6 | Fixed |
| pypi nbconvert(PyPI) | < 7.17.0; = 0.0.0; = 4.0.0; = 4.1.0 +99 more | 7.17.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | < 7.17.0 | 7.17.0 |
| pypi nbconvert(PyPI) | = 0.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.0.0b1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.1.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.2.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.3.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.1.dev0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.6.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.6.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a4 | No fix listed |
Show 114 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | = 6.0.0a5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a6 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0b7 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.4 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.6 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.7 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.1b0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.3.0b0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.4 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.10.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.11.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.12.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.13.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.13.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.15.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.5 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.6 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.10 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.5 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.6 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.7 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.8 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.9 | No fix listed |
| pypi nbconvert(PyPI) | = 7.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.3.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.6.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.8.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.2 | No fix listed |
| debian/nbconvert(Debian:11) | All versions | No fix listed |
| debian/nbconvert(Debian:11) | = 5.6.1-3 | No fix listed |
| debian/nbconvert(Debian:11) | = 5.6.1-3+deb11u1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.1.0-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.3.0-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.4.0-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.4.4-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.4.4-2 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.1-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-1.1 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-2 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-3 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-4 | No fix listed |
| debian/nbconvert(Debian:11) | = 6.5.3-5 | No fix listed |
| debian/nbconvert(Debian:11) | = 7.16.4-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 7.16.4-2 | No fix listed |
| debian/nbconvert(Debian:11) | = 7.16.5-1 | No fix listed |
| debian/nbconvert(Debian:11) | = 7.16.6-1 | No fix listed |
| debian/nbconvert(Debian:12) | All versions | No fix listed |
| debian/nbconvert(Debian:12) | = 6.5.3-3 | No fix listed |
| debian/nbconvert(Debian:12) | = 6.5.3-4 | No fix listed |
| debian/nbconvert(Debian:12) | = 6.5.3-5 | No fix listed |
| debian/nbconvert(Debian:12) | = 7.16.4-1 | No fix listed |
| debian/nbconvert(Debian:12) | = 7.16.4-2 | No fix listed |
| debian/nbconvert(Debian:12) | = 7.16.5-1 | No fix listed |
| debian/nbconvert(Debian:12) | = 7.16.6-1 | No fix listed |
| debian/nbconvert(Debian:13) | All versions | No fix listed |
| debian/nbconvert(Debian:13) | = 7.16.6-1 | No fix listed |
| debian/nbconvert(Debian:14) | All versions | No fix listed |
| debian/nbconvert(Debian:14) | = 7.16.6-1 | No fix listed |
| jupyter nbconvert | = < 7.17.0 | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:26.10) | All versions | No fix listed |
| jupyter nbconvert | <= 7.16.6 | No fix listed |
References
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/jupyter/nbconvert/issues/2258
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71 patch
- github.com product
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2025-53000 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2423383 issue-tracking