CVE-2025-53000 Details
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.
A vulnerability in the Jupyter nbconvert tool, specifically in versions up to and including 7.16.6 on Windows, allows for unauthorized code execution when exporting notebooks containing SVG output to PDF. This occurs because the conversion process can be manipulated to execute a Windows batch script, 'inkscape.bat', created by a third party. The vulnerability exploits the way nbconvert resolves the Inkscape executable path, leading to the execution of arbitrary code with the user's privileges.
It is recommended to update to a version of Jupyter nbconvert that addresses this vulnerability. Additionally, users can enable the 'NoDefaultCurrentDirectoryInExePath' environment variable to reduce the risk of executing files from untrusted locations.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-427 | Uncontrolled Search Path Element | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jupyter nbconvert | <= 7.16.6 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Feb 18, 2026 | CVE Modified | [email protected] |
| Feb 9, 2026 | CVE Modified | [email protected] |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Dec 18, 2025 | CVE Modified | CISA-ADP |
| Dec 17, 2025 | New CVE Received | [email protected] |