Skip to main content
← All vulnerabilities
CVE-2025-53000PYSEC-2026-1691GHSA-XM59-RQC7-HHVF

nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.17.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • jupyter nbconvert

    fixed in 7.17.0

  • nbconvertPyPI

    fixed in 7.17.0

References 6

GitHub · jupyter/nbconvert

imperva.com