{"id":"CVE-2025-53000","aliases":["DEBIAN-CVE-2025-53000","GHSA-xm59-rqc7-hhvf","PYSEC-2026-1691","UBUNTU-CVE-2025-53000"],"summary":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","published_at":"2025-12-17T20:27:59.578Z","modified_at":"2026-11-09T12:49:26.594212Z","products":[],"rating":{"severity":"high","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","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00279000005684793,"percentile":0.20709000527858734,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"jupyter/nbconvert","versions":["< 7.17.0"],"provider":"cvelistv5","source":"CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:11","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-3","5.6.1-3+deb11u1","6.1.0-1","6.3.0-1","6.4.0-1","6.4.4-1","6.4.4-2","6.5.1-1","6.5.3-1","6.5.3-1.1","6.5.3-2","6.5.3-3","6.5.3-4","6.5.3-5","7.16.4-1","7.16.4-2","7.16.5-1","7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:12","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.3-3","6.5.3-4","6.5.3-5","7.16.4-1","7.16.4-2","7.16.5-1","7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:13","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:14","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"NVD","package":"jupyter:nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.16.6"}]}],"provider":"nvd","source":"CVE-2025-53000","relation":"self"},{"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.0"}]}],"versions":["0.0.0","4.0.0","4.1.0","4.2.0","4.3.0","5.0.0","5.0.0b1","5.1.0","5.1.1","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.1.dev0","5.5.0","5.6.0","5.6.1","6.0.0","6.0.0a0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0a4","6.0.0a5","6.0.0a6","6.0.0b7","6.0.0rc0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.0rc0","6.1.1b0","6.2.0","6.2.0rc0","6.2.0rc1","6.2.0rc2","6.3.0","6.3.0b0","6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","7.0.0","7.0.0rc0","7.0.0rc1","7.0.0rc2","7.0.0rc3","7.1.0","7.10.0","7.11.0","7.12.0","7.13.0","7.13.1","7.14.0","7.14.1","7.14.2","7.15.0","7.16.0","7.16.1","7.16.2","7.16.3","7.16.4","7.16.5","7.16.6","7.2.0","7.2.1","7.2.10","7.2.2","7.2.3","7.2.4","7.2.5","7.2.6","7.2.7","7.2.8","7.2.9","7.3.0","7.3.1","7.4.0","7.5.0","7.6.0","7.7.0","7.7.1","7.7.2","7.7.3","7.7.4","7.8.0","7.9.0","7.9.1","7.9.2"],"fixed":["7.17.0"],"provider":"osv","source":"GHSA-xm59-rqc7-hhvf","relation":"self"},{"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.0"}]}],"versions":["0.0.0","4.0.0","4.1.0","4.2.0","4.3.0","5.0.0","5.0.0b1","5.1.0","5.1.1","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.1.dev0","5.5.0","5.6.0","5.6.1","6.0.0","6.0.0a0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0a4","6.0.0a5","6.0.0a6","6.0.0b7","6.0.0rc0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.0rc0","6.1.1b0","6.2.0","6.2.0rc0","6.2.0rc1","6.2.0rc2","6.3.0","6.3.0b0","6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","7.0.0","7.0.0rc0","7.0.0rc1","7.0.0rc2","7.0.0rc3","7.1.0","7.10.0","7.11.0","7.12.0","7.13.0","7.13.1","7.14.0","7.14.1","7.14.2","7.15.0","7.16.0","7.16.1","7.16.2","7.16.3","7.16.4","7.16.5","7.16.6","7.2.0","7.2.1","7.2.10","7.2.2","7.2.3","7.2.4","7.2.5","7.2.6","7.2.7","7.2.8","7.2.9","7.3.0","7.3.1","7.4.0","7.5.0","7.6.0","7.7.0","7.7.1","7.7.2","7.7.3","7.7.4","7.8.0","7.9.0","7.9.1","7.9.2"],"fixed":["7.17.0"],"provider":"osv","source":"PYSEC-2026-1691","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.0-4","5.3.1-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4-2ubuntu2","5.6.0-1","5.6.0-2","5.6.1-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-3","6.1.0-1","6.3.0-1","6.4.0-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.3-4","6.5.3-5"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.17.0-1","7.17.1-2"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"openSUSE:Tumbleweed","package":"python-nbconvert","purl":"pkg:rpm/opensuse/python-nbconvert&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.1-1.1"}]}],"fixed":["7.17.1-1.1"],"provider":"osv","source":"openSUSE-SU-2026:10603-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["jupyter-nbconvert","jupyter-nbconvert-latex","python311-nbconvert","python313-nbconvert","python314-nbconvert"],"package_count":5,"fixed":["jupyter-nbconvert-7.17.1-1.1","jupyter-nbconvert-latex-7.17.1-1.1","python311-nbconvert-7.17.1-1.1","python313-nbconvert-7.17.1-1.1","python314-nbconvert-7.17.1-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2025-53000"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9","rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9"],"package_count":17,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-53000"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-advisor-engine-rhel9","satellite/iop-insights-engine-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-53000"}],"records":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10603-1","relation":"upstream","url":"https://www.suse.com/security/cve/CVE-2025-53000/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-04-22T00:00:00Z","modified_at":"2026-04-22T00:00:00Z","summary":"jupyter-nbconvert-7.17.1-1.1 on GA media","details":"jupyter-nbconvert-7.17.1-1.1 on GA media\n\nThese are all security issues fixed in the jupyter-nbconvert-7.17.1-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"openSUSE-SU-2026:10603-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:10603-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_10603-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-53000/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39377/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39378/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39377"},{"type":"WEB","url":"https://bugzilla.suse.com/1262456"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39378"},{"type":"WEB","url":"https://bugzilla.suse.com/1262457"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:10603-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10603-1","published_at":"2026-04-22T00:00:00Z","modified_at":"2026-04-23T08:45:15.674585Z","summary":"jupyter-nbconvert-7.17.1-1.1 on GA media","details":"These are all security issues fixed in the jupyter-nbconvert-7.17.1-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"python-nbconvert","purl":"pkg:rpm/opensuse/python-nbconvert&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.1-1.1"}]}],"fixed":["7.17.1-1.1"],"provider":"osv","source":"openSUSE-SU-2026:10603-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39377"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39378"}]},{"provider":"cvelistv5","source_id":"CVE-2025-53000","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000","license":"CC-BY-4.0","published_at":"2025-12-17T20:27:59.578Z","modified_at":"2026-02-18T18:36:34.309Z","summary":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2025-53000"}],"affected":[{"ecosystem":"CVE","package":"jupyter/nbconvert","versions":["< 7.17.0"],"provider":"cvelistv5","source":"CVE-2025-53000","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/issues/2258"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.0"},{"type":"WEB","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"}]},{"provider":"csaf-suse","source_id":"CVE-2025-53000","relation":"self","url":"https://www.suse.com/security/cve/CVE-2025-53000/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-04-24T01:36:34Z","modified_at":"2026-04-24T01:36:34Z","summary":"SUSE CVE CVE-2025-53000","details":"SUSE CVE-2025-53000\n\nThe 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2025-53000"},{"type":"SUSE","score":"important","source":"CVE-2025-53000"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["jupyter-nbconvert","jupyter-nbconvert-latex","python311-nbconvert","python313-nbconvert","python314-nbconvert"],"package_count":5,"fixed":["jupyter-nbconvert-7.17.1-1.1","jupyter-nbconvert-latex-7.17.1-1.1","python311-nbconvert-7.17.1-1.1","python313-nbconvert-7.17.1-1.1","python314-nbconvert-7.17.1-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2025-53000"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"}]},{"provider":"nvd","source_id":"CVE-2025-53000","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000","severity":[],"affected":[{"ecosystem":"NVD","package":"jupyter:nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.16.6"}]}],"provider":"nvd","source":"CVE-2025-53000","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2025-53000","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-53000","published_at":"2025-12-17T21:16:14.473Z","modified_at":"2025-12-27T19:45:46.34826Z","withdrawn_at":"2025-12-27T19:45:46.34826Z","details":"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. As of time of publication, no known patches exist.","severity":[{"type":"CVSS_V4","score":"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","source":"DEBIAN-CVE-2025-53000"}],"affected":[{"ecosystem":"Debian:11","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-3","5.6.1-3+deb11u1","6.1.0-1","6.3.0-1","6.4.0-1","6.4.4-1","6.4.4-2","6.5.1-1","6.5.3-1","6.5.3-1.1","6.5.3-2","6.5.3-3","6.5.3-4","6.5.3-5","7.16.4-1","7.16.4-2","7.16.5-1","7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:12","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.3-3","6.5.3-4","6.5.3-5","7.16.4-1","7.16.4-2","7.16.5-1","7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:13","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"},{"ecosystem":"Debian:14","package":"nbconvert","purl":"pkg:deb/debian/nbconvert?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"DEBIAN-CVE-2025-53000","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-53000"}]},{"provider":"osv","source_id":"GHSA-xm59-rqc7-hhvf","relation":"self","url":"https://osv.dev/vulnerability/GHSA-xm59-rqc7-hhvf","license":"CC-BY-4.0","published_at":"2025-12-18T22:03:08Z","modified_at":"2026-09-10T03:50:32.307876Z","summary":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","details":"### Summary\n\nOn Windows, 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](https://en.wikipedia.org/wiki/Batch_file), capable of arbitrary code execution.\n\nWhen 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.\n\n### Details\n_Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._\n\n`nbconvert` searches for an `inkscape` executable when converting notebooks to PDFs here: https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104\n\nThe MITRE page on [CWE-427 (Uncontrolled Search Path Element)](https://cwe.mitre.org/data/definitions/427.html) summarizes the root cause succinctly:\n\n> In Windows-based systems, when the `LoadLibrary` or `LoadLibraryEx` function is called with a DLL name that does not contain a fully qualified path, the function follows a search order that includes two path elements that might be uncontrolled:\n> - the directory from which the program has been loaded\n> - the current working directory\n\n### PoC\n\n_Complete instructions, including specific configuration details, to reproduce the vulnerability._\n\n1. Create a directory containing: \n\n    - A hidden bat file called `inkscape.bat` containing `msg * \"You've been hacked!\"`\n\n    - A dummy ipynb file called `Machine_Learning.ipynb`\n\n2. Run the command `jupyter nbconvert --to pdf Machine_Learning.ipynb`.\n\n3. Wait a few seconds, and you should see a popup showing the message \"You've been hacked!\" \n\n### Impact\n\nAll Windows users.","severity":[{"type":"CVSS_V4","score":"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","source":"GHSA-xm59-rqc7-hhvf"}],"affected":[{"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.0"}]}],"versions":["0.0.0","4.0.0","4.1.0","4.2.0","4.3.0","5.0.0","5.0.0b1","5.1.0","5.1.1","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.1.dev0","5.5.0","5.6.0","5.6.1","6.0.0","6.0.0a0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0a4","6.0.0a5","6.0.0a6","6.0.0b7","6.0.0rc0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.0rc0","6.1.1b0","6.2.0","6.2.0rc0","6.2.0rc1","6.2.0rc2","6.3.0","6.3.0b0","6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","7.0.0","7.0.0rc0","7.0.0rc1","7.0.0rc2","7.0.0rc3","7.1.0","7.10.0","7.11.0","7.12.0","7.13.0","7.13.1","7.14.0","7.14.1","7.14.2","7.15.0","7.16.0","7.16.1","7.16.2","7.16.3","7.16.4","7.16.5","7.16.6","7.2.0","7.2.1","7.2.10","7.2.2","7.2.3","7.2.4","7.2.5","7.2.6","7.2.7","7.2.8","7.2.9","7.3.0","7.3.1","7.4.0","7.5.0","7.6.0","7.7.0","7.7.1","7.7.2","7.7.3","7.7.4","7.8.0","7.9.0","7.9.1","7.9.2"],"fixed":["7.17.0"],"provider":"osv","source":"GHSA-xm59-rqc7-hhvf","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/issues/2258"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71"},{"type":"PACKAGE","url":"https://github.com/jupyter/nbconvert"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.0"},{"type":"WEB","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"}]},{"provider":"osv","source_id":"PYSEC-2026-1691","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-1691","license":"CC-BY-4.0","published_at":"2026-07-07T16:03:13.458953Z","modified_at":"2026-07-07T17:47:07.13845Z","summary":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","details":"### Summary\n\nOn Windows, 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](https://en.wikipedia.org/wiki/Batch_file), capable of arbitrary code execution.\n\nWhen 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.\n\n### Details\n_Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._\n\n`nbconvert` searches for an `inkscape` executable when converting notebooks to PDFs here: https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104\n\nThe MITRE page on [CWE-427 (Uncontrolled Search Path Element)](https://cwe.mitre.org/data/definitions/427.html) summarizes the root cause succinctly:\n\n> In Windows-based systems, when the `LoadLibrary` or `LoadLibraryEx` function is called with a DLL name that does not contain a fully qualified path, the function follows a search order that includes two path elements that might be uncontrolled:\n> - the directory from which the program has been loaded\n> - the current working directory\n\n### PoC\n\n_Complete instructions, including specific configuration details, to reproduce the vulnerability._\n\n1. Create a directory containing: \n\n    - A hidden bat file called `inkscape.bat` containing `msg * \"You've been hacked!\"`\n\n    - A dummy ipynb file called `Machine_Learning.ipynb`\n\n2. Run the command `jupyter nbconvert --to pdf Machine_Learning.ipynb`.\n\n3. Wait a few seconds, and you should see a popup showing the message \"You've been hacked!\" \n\n### Impact\n\nAll Windows users.","severity":[{"type":"CVSS_V4","score":"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","source":"PYSEC-2026-1691"}],"affected":[{"ecosystem":"PyPI","package":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.17.0"}]}],"versions":["0.0.0","4.0.0","4.1.0","4.2.0","4.3.0","5.0.0","5.0.0b1","5.1.0","5.1.1","5.2.1","5.3.0","5.3.1","5.4.0","5.4.1","5.4.1.dev0","5.5.0","5.6.0","5.6.1","6.0.0","6.0.0a0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0a4","6.0.0a5","6.0.0a6","6.0.0b7","6.0.0rc0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.1.0","6.1.0rc0","6.1.1b0","6.2.0","6.2.0rc0","6.2.0rc1","6.2.0rc2","6.3.0","6.3.0b0","6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","7.0.0","7.0.0rc0","7.0.0rc1","7.0.0rc2","7.0.0rc3","7.1.0","7.10.0","7.11.0","7.12.0","7.13.0","7.13.1","7.14.0","7.14.1","7.14.2","7.15.0","7.16.0","7.16.1","7.16.2","7.16.3","7.16.4","7.16.5","7.16.6","7.2.0","7.2.1","7.2.10","7.2.2","7.2.3","7.2.4","7.2.5","7.2.6","7.2.7","7.2.8","7.2.9","7.3.0","7.3.1","7.4.0","7.5.0","7.6.0","7.7.0","7.7.1","7.7.2","7.7.3","7.7.4","7.8.0","7.9.0","7.9.1","7.9.2"],"fixed":["7.17.0"],"provider":"osv","source":"PYSEC-2026-1691","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/issues/2258"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71"},{"type":"PACKAGE","url":"https://github.com/jupyter/nbconvert"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.0"},{"type":"WEB","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"},{"type":"PACKAGE","url":"https://pypi.org/project/nbconvert"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xm59-rqc7-hhvf"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2025-53000","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-53000","license":"CC-BY-SA-4.0","published_at":"2025-12-17T21:16:00Z","modified_at":"2026-11-09T12:49:26.594212Z","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"UBUNTU-CVE-2025-53000"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2025-53000"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2025-53000"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.0-4","5.3.1-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4-2ubuntu2","5.6.0-1","5.6.0-2","5.6.1-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-3","6.1.0-1","6.3.0-1","6.4.0-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.5.3-4","6.5.3-5"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.16.6-1"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"nbconvert","purl":"pkg:deb/ubuntu/nbconvert?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.17.0-1","7.17.1-2"],"provider":"osv","source":"UBUNTU-CVE-2025-53000","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-53000"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000"},{"type":"REPORT","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"}]},{"provider":"redhat-vex","source_id":"CVE-2025-53000","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-53000","license":"CC-BY-4.0","published_at":"2025-12-17T20:27:59.578Z","modified_at":"2026-03-16T08:31:25Z","summary":"nbconvert: nbconvert: Arbitrary code execution via malicious SVG to PDF conversion on Windows","details":"A flaw was found in nbconvert, specifically in the jupyter nbconvert tool on Windows. A third party can exploit this vulnerability by creating a malicious inkscape.bat file in a directory. When a user then converts a Jupyter notebook containing SVG output to a PDF from this directory, the malicious inkscape.bat file is unexpectedly executed, leading to arbitrary code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2025-53000"},{"type":"Red Hat","score":"Important","source":"CVE-2025-53000"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9","rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9"],"package_count":17,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-53000"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["satellite/iop-advisor-engine-rhel9","satellite/iop-insights-engine-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-53000"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-53000.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423383"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000"},{"type":"WEB","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"}]}],"references":[{"type":"WEB","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-xm59-rqc7-hhvf"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/issues/2258"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/commit/c9ac1d1040459ed1ff9eb34e9918ce5a87cf9d71"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/blob/4f61702f5c7524d8a3c4ac0d5fc33a6ac2fa36a7/nbconvert/preprocessors/svg2pdf.py#L104"},{"type":"WEB","url":"https://github.com/jupyter/nbconvert/releases/tag/v7.17.0"},{"type":"WEB","url":"https://www.imperva.com/blog/code-execution-in-jupyter-notebook-exports"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-53000"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000"},{"type":"PACKAGE","url":"https://github.com/jupyter/nbconvert"},{"type":"PACKAGE","url":"https://pypi.org/project/nbconvert"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xm59-rqc7-hhvf"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-53000"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-53000.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-53000"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423383"}],"sources":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10603-1","url":"https://www.suse.com/security/cve/CVE-2025-53000/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-04-22T00:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:10603-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10603-1","modified_at":"2026-04-23T08:45:15.674585Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2025-53000","url":"https://www.cve.org/CVERecord?id=CVE-2025-53000","license":"CC-BY-4.0","modified_at":"2026-02-18T18:36:34.309Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2025-53000","url":"https://www.suse.com/security/cve/CVE-2025-53000/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-04-24T01:36:34Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-53000","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53000","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2025-53000","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-53000","modified_at":"2025-12-27T19:45:46.34826Z","relation":"self"},{"provider":"osv","source_id":"GHSA-xm59-rqc7-hhvf","url":"https://osv.dev/vulnerability/GHSA-xm59-rqc7-hhvf","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:32.307876Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-1691","url":"https://osv.dev/vulnerability/PYSEC-2026-1691","license":"CC-BY-4.0","modified_at":"2026-07-07T17:47:07.13845Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2025-53000","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-53000","license":"CC-BY-SA-4.0","modified_at":"2026-11-09T12:49:26.594212Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-53000","url":"https://access.redhat.com/security/cve/CVE-2025-53000","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:25Z","relation":"self"}]}
