CVE-2025-53000nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
- 8.5HighCVSS base score
- 0.28%Exploitation in 30 daysEPSS · top 79% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports (opens in a new tab)x_refsource_MISCexploit
Timeline
ID reserved
By GitHub_M
- 6 months later
· 6 months later
Published
- 2 months later
· 2 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | High8.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 |
| NVDNVD · Modified | 4.0 | High8.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 |
- EPSS (exploitation in 30 days)
- 0.28% · top 79% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPInbconvertGHSA-xm59-rqc7-hhvf (opens in a new tab)
References
References6
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf (opens in a new tab)x_refsource_CONFIRM
- https://github.com/jupyter/nbconvert/issues/2258 (opens in a new tab)x_refsource_MISC
- https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71 (opens in a new tab)x_refsource_MISC
- https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104 (opens in a new tab)x_refsource_MISC
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.0 (opens in a new tab)x_refsource_MISC
- https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports (opens in a new tab)x_refsource_MISCexploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-203957 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xm59-rqc7-hhvf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-53000)Record last updated .