nbconvert vulnerabilities

Convert Jupyter Notebooks (.ipynb files) to other formats.

Registry
PyPI
Latest
7.17.2
License
BSD License

6 known advisories

The latest version, 7.17.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'nbconvert>=7.17.2'

Is your project on an affected nbconvert?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for nbconvert

  • HighCVE-2026-114140GHSA-pjvx-prjx-h65922 Oct 2026

    nbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidoc

    Affected
    >=5.4.0 <7.17.2
    Fixed in
    7.17.2
  • MediumCVE-2026-6658GHSA-9754-6rhw-gj3h26 Jun 2026

    jupyter/nbconvert allows Cross-site Scripting (XSS) via unsanitized `text/vnd.mermaid` output in HTML exports

    Affected
    <=7.17.0
    Fixed in
    No fix released
  • MediumCVE-2026-39378GHSA-7jqv-fw35-gmx921 Apr 2026

    nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding

    Affected
    >=6.5.0 <7.17.1
    Fixed in
    7.17.1
  • MediumCVE-2026-39377GHSA-4c99-qj7h-p3vg21 Apr 2026

    nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames

    Affected
    >=6.5.0 <7.17.1
    Fixed in
    7.17.1
  • HighCVE-2025-53000GHSA-xm59-rqc7-hhvf18 Dec 2025

    nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows

    Affected
    <7.17.0
    Fixed in
    7.17.0
  • MediumCVE-2021-32862GHSA-9jmq-rx5f-8jwq10 Aug 2022

    nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths

    Affected
    <6.5.1
    Fixed in
    6.5.1

Is your nbconvert version vulnerable?

Which of your client projects still run an old nbconvert?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.