{"answers":{"affected":"3 open source packages ship an affected version, including nbconvert. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53000 exists.","fix":"Upgrade nbconvert to 7.17.0 or later.","what":"CVE-2025-53000 is a high-severity path traversal vulnerability in jupyter nbconvert, published on 17 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-53000 and fix it if it is affected.\n\nWhat it is: CVE-2025-53000 is a high-severity path traversal vulnerability in jupyter nbconvert, published on 17 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53000 exists.\n\nAffected packages and fixed versions:\n- nbconvert (PyPI): affected all versions; fixed in 7.17.0\n- nbconvert (PyPI): affected all versions; fixed in 7.17.0\n- nbconvert (PyPI): affected all versions; fixed in 7.17.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-53000/ (Markdown: https://insights.sbomify.com/CVE-2025-53000/index.md)","id":"CVE-2025-53000","markdown":"https://insights.sbomify.com/CVE-2025-53000/index.md","name":"CVE-2025-53000","record":{"aliases":["CLEANSTART-2026-TE10956","CLEANSTART-2026-ZJ55298","GHSA-xm59-rqc7-hhvf","PYSEC-2026-1691","UBUNTU-CVE-2025-53000"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Jupyter nbconvert library","requires_auth":"none","summary":"An attacker can execute arbitrary code on Windows by placing a malicious batch file in the current directory when converting notebooks to PDF.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nbconvert","vendor":"jupyter"}],"cvss":{"score":8.5,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows","id":"CVE-2025-53000","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":6,"next":{"headline":"Reason: This candidate was issued in error.","id":"CVE-2025-53001"},"packages":[{"ecosystem":"PyPI","fixed":["7.17.0"],"introduced":["0"],"last_affected":[],"package":"nbconvert","purl":null,"source":"GHSA-xm59-rqc7-hhvf"},{"ecosystem":"PyPI","fixed":["7.17.0"],"introduced":["0"],"last_affected":[],"package":"nbconvert","purl":"pkg:pypi/nbconvert","source":"GHSA-xm59-rqc7-hhvf"},{"ecosystem":"PyPI","fixed":["7.17.0"],"introduced":["0"],"last_affected":[],"package":"nbconvert","purl":"pkg:pypi/nbconvert","source":"PYSEC-2026-1691"}],"prev":{"headline":"jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data","id":"CVE-2025-52999"},"products":["nbconvert"],"published":"2025-12-17","related":[{"cvss_score":6.5,"headline":"nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames","id":"CVE-2026-39377","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding","id":"CVE-2026-39378","kev_date_added":null,"published":"2026-04-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-18","vendors":["jupyter"]},"summary":"An attacker can execute arbitrary code on Windows by placing a malicious batch file in the current directory when converting notebooks to PDF.","url":"https://insights.sbomify.com/CVE-2025-53000/"}