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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 7.17.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-17 · Modified: 2026-02-18
- Aliases: GHSA-xm59-rqc7-hhvf, PYSEC-2026-1691, UBUNTU-CVE-2025-53000, DEBIAN-CVE-2025-53000, CGA-2rh7-w69f-44c3, CGA-3354-hm2v-v783, CGA-6q94-xcvx-rvvw, CGA-7xv7-7cgc-2xrx, CGA-9h9q-qp88-pj46, CGA-cw29-3mr6-375v, CGA-g3vq-hpmw-3qx8, CGA-mgvq-3mhf-wcph, CGA-mr22-m39w-9jmv, CGA-qcgq-mh33-fjqf, CGA-vwv8-h35g-rrj8, CGA-vxp5-xfgx-grcg, CGA-x8h3-wmq3-vcx4, CGA-xmj9-r4f4-7h8h, CGA-xr6m-7x69-p62h, CGA-4x67-369j-hx66, CGA-77q2-6g64-vfw9
- Record: https://cvemate.com/vulnerability/CVE-2025-53000 · JSON: https://cvemate.com/vulnerability/CVE-2025-53000/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.281%, percentile 22.11%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 22)

- chainguard jupyter-base-notebook (Chainguard): All versions (No fix recorded)
- chainguard jupyter-docker-base (Chainguard): \< 999.9.9\_git20260925-r0
- chainguard jupyter-docker-stacks (Chainguard): \< 7.3.2-r1 \| \< 999.9.9\_git20260925-r0
- chainguard kubeflow-pipelines-visualization-server (Chainguard): All versions (No fix recorded)
- chainguard py3.10-nbconvert (Chainguard): \< 7.17.0-r0
- chainguard py3.11-nbconvert (Chainguard): \< 7.17.0-r0
- chainguard py3.12-nbconvert (Chainguard): \< 7.17.0-r0
- chainguard py3.13-nbconvert (Chainguard): \< 7.17.0-r0
- chainguard tensorflow-cpu-jupyter (Chainguard): All versions (No fix recorded)
- chainguard tensorflow-gpu-jupyter (Chainguard): All versions (No fix recorded)
- wolfi jupyter-base-notebook (Wolfi): All versions (No fix recorded)
- wolfi jupyter-docker-base (Wolfi): \< 999.9.9\_git20260925-r0
- wolfi jupyter-docker-stacks (Wolfi): \< 7.3.2-r1 \| \< 999.9.9\_git20260925-r0
- wolfi kubeflow-pipelines-visualization-server (Wolfi): All versions (No fix recorded)
- wolfi py3.10-nbconvert (Wolfi): \< 7.17.0-r0
- wolfi py3.11-nbconvert (Wolfi): \< 7.17.0-r0
- wolfi py3.12-nbconvert (Wolfi): \< 7.17.0-r0
- wolfi py3.13-nbconvert (Wolfi): \< 7.17.0-r0
- debian nbconvert (Debian): All versions (No fix recorded)
- ubuntu nbconvert (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf>
- <https://github.com/jupyter/nbconvert/issues/2258>
- <https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71>
- <https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104>
- <https://github.com/jupyter/nbconvert/releases/tag/v7.17.0>
- <https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53000>
- <https://github.com/jupyter/nbconvert>
- <https://pypi.org/project/nbconvert>
- <https://github.com/advisories/GHSA-xm59-rqc7-hhvf>
- <https://ubuntu.com/security/CVE-2025-53000>
- <https://www.cve.org/CVERecord?id=CVE-2025-53000>
- <https://security-tracker.debian.org/tracker/CVE-2025-53000>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53000.json>

---

Data as of 2026-12-05T04:45:19.410Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
