Skip to content
OpenAdvisories
High · 8.5 CVE-2025-53000 EUVD-2025-203957GHSA-xm59-rqc7-hhvfPYSEC-2026-1691

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

Published Dec 17, 2025 · Updated Feb 18, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
jupyter nbconvert < 7.17.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 nbconvert No fix yet —
Ubuntu 25.10 nbconvert No fix yet —
Ubuntu 24.04 LTS nbconvert No fix yet —
Ubuntu 22.04 LTS nbconvert No fix yet —
Ubuntu 20.04 LTS nbconvert No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nbconvert No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-nbconvert 7.17.1-1.1 openSUSE-SU-2026:10603-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jupyter-docker-base +1 999.9.9_git20260925-r0 —
Wolfi rolling py3.10-nbconvert +3 7.17.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nbconvert < 7.17.0 7.17.0 GHSA-xm59-rqc7-hhvf

Advisories 1

References