CVE-2025-53000: jupyter nbconvert · Uncontrolled Search Path Element
Affects jupyter nbconvertSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 7.17.0 soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.17.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:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade jupyter nbconvert to 7.17.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPInbconvertpkg:pypi/nbconvertOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately upgrade jupyter nbconvert to version 7.17.0 or later, where the vulnerability is patched. Until upgrading, users should avoid running nbconvert --to pdf commands on notebooks containing SVG output from directories that are not fully trusted or controlled. Implement strict directory hygiene by ensuring no untrusted batch or executable files exist in working directories used for notebook conversion. Employ endpoint protection solutions that monitor and block suspicious batch file executions, especially in user directories. Educate users about the risks of running conversions from untrusted locations and encourage use of isolated or sandboxed environments for notebook processing. Consider restricting write permissions on directories used for conversions to prevent unauthorized file placement. Regularly audit and monitor systems for unexpected batch files or scripts in user directories. Finally, integrate nbconvert usage into broader application whitelisting and execution control policies to reduce risk of arbitrary code execution.
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.
References
- github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf (opens in a new tab)
- github.com/jupyter/nbconvert/issues/2258 (opens in a new tab)
- github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71 (opens in a new tab)
- github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py (opens in a new tab)
- github.com/jupyter/nbconvert/releases/tag/v7.17.0 (opens in a new tab)
- imperva.com/blog/code-execution-in-jupyter-notebook-exports (opens in a new tab)