Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nbconvert
  4. ›
  5. CVE-2025-53000

CVE-2025-53000: nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows

December 18, 2025 (updated February 10, 2026)

On Windows, 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.

References

  • github.com/advisories/GHSA-xm59-rqc7-hhvf
  • github.com/jupyter/nbconvert
  • github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py
  • github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71
  • github.com/jupyter/nbconvert/issues/2258
  • github.com/jupyter/nbconvert/releases/tag/v7.17.0
  • github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf
  • nvd.nist.gov/vuln/detail/CVE-2025-53000
  • www.imperva.com/blog/code-execution-in-jupyter-notebook-exports

Code Behaviors & Features

Detect and mitigate CVE-2025-53000 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.17.0

Fixed versions

  • 7.17.0

Solution

Upgrade to version 7.17.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element

Source file

pypi/nbconvert/CVE-2025-53000.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.