CVE-2025-53000
HIGH 8.5CVSS 4.0nbconvert has an uncontrolled search path that leads to unauthorized code execution 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.
- Published
- 17 Dec 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-427
- Also known as
- GHSA-xm59-rqc7-hhvfPYSEC-2026-1691
- Sources
- NVDJSONOSV GHSA-xm59-rqc7-hhvfJSONOSV PYSEC-2026-1691JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.5 | CVSS: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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | nbconvertcpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* |
<= 7.16.6 | |
| OSV | PyPI | nbconvert | < 7.17.0 | 7.17.0 |
References
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104 · WEB
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71 · WEB
- https://github.com/jupyter/nbconvert/issues/2258 · WEB
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0 · WEB
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf · WEB
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53000 · ADVISORY
- https://github.com/jupyter/nbconvert · PACKAGE
- https://pypi.org/project/nbconvert · PACKAGE
- https://github.com/advisories/GHSA-xm59-rqc7-hhvf · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Dec 2025)