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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-17T20:27:59.578Z
- Modified: 2026-09-10T03:50:32.307Z
- Also known as: GHSA-xm59-rqc7-hhvf, PYSEC-2026-1691
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- jupyter nbconvert: < 7.17.0; up to 7.16.6
- nbconvert (PyPI): before 7.17.0

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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

- <https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports> (exploit, third-party-advisory, web)
- <https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf> (web)
- <https://github.com/jupyter/nbconvert/issues/2258> (web)
- <https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71> (web)
- <https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104> (web)
- <https://github.com/jupyter/nbconvert/releases/tag/v7.17.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53000> (advisory)
- <https://github.com/jupyter/nbconvert> (package)
- <https://pypi.org/project/nbconvert> (package)
- <https://github.com/advisories/GHSA-xm59-rqc7-hhvf> (advisory)

## Sources

- CVE List: [CVE-2025-53000](https://www.cve.org/CVERecord?id=CVE-2025-53000), CVE Terms of Use, modified 2026-02-18
- GitHub Advisory Database: [GHSA-xm59-rqc7-hhvf](https://github.com/advisories/GHSA-xm59-rqc7-hhvf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-53000](https://nvd.nist.gov/vuln/detail/CVE-2025-53000), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1691](https://osv.dev/vulnerability/PYSEC-2026-1691), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-53000 · Whole record: https://cve.day/CVE-2025-53000.json · Rebuilt by cve.day 2026-11-25T22:59:09.595Z
