Vulnerability · Published Dec 17, 2025 · Assigned by GitHub_M

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

High 8.5

In plain English

A high-severity uncontrolled search path in nbconvert from jupyter. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.5High
Exploit odds (30 days)0.3%top 82.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nbconvertno fix listedDEBIAN-CVE-2025-53000
Debian:13nbconvertno fix listedDEBIAN-CVE-2025-53000
Debian:14nbconvertno fix listedDEBIAN-CVE-2025-53000
PyPInbconvert7.17.0GHSA-xm59-rqc7-hhvf
PyPInbconvert7.17.0PYSEC-2026-1691
Ubuntu:22.04:LTSnbconvertno fix listedUBUNTU-CVE-2025-53000
Ubuntu:24.04:LTSnbconvertno fix listedUBUNTU-CVE-2025-53000
Ubuntu:25.10nbconvertno fix listedUBUNTU-CVE-2025-53000
Ubuntu:26.04:LTSnbconvertno fix listedUBUNTU-CVE-2025-53000
Ubuntu:26.10nbconvertno fix listedUBUNTU-CVE-2025-53000

Affected products (as reported)

VendorProductVersions
jupyter nbconvert < 7.17.0

Weakness: CWE-427 · Vector: 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

References