{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-53000","id":"CVE-2025-53000","title":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","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","descriptionLong":"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.","published":"2025-12-17T20:27:59.578Z","updated":"2026-10-28T02:31:04.007172445Z","reserved":"2025-06-24T03:50:36.795Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["jupyter nbconvert"],"affectedProducts":[{"vendor":"jupyter","product":"nbconvert","defaultStatus":null,"versions":[{"version":"< 7.17.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":["<7.17.0"],"fixed":["7.17.0"],"advisory":"GHSA-xm59-rqc7-hhvf"}],"cwes":["CWE-427"],"aliases":["GHSA-xm59-rqc7-hhvf","PYSEC-2026-1691"],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/jupyter/nbconvert/issues/2258","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.0","tags":["x_refsource_MISC","web"]},{"url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports","tags":["x_refsource_MISC","exploit","Exploit","Third Party Advisory","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53000.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000","tags":["advisory"]},{"url":"https://github.com/jupyter/nbconvert","tags":["package"]},{"url":"https://pypi.org/project/nbconvert","tags":["package"]},{"url":"https://github.com/advisories/GHSA-xm59-rqc7-hhvf","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00279,"epssPercentile":0.20709,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-53000","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xm59-rqc7-hhvf","ok":true,"note":"GHSA-xm59-rqc7-hhvf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-53000","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}