CVE catalog

CVE-2026-40171

In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab versions 4.5.6 and earlier, and the corresponding @jupyter-notebook/help-extension and @jupyterlab/help-extension packages before 7.5.6 and

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 25, 2026

In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab versions 4.5.6 and earlier, and the corresponding @jupyter-notebook/help-extension and @jupyterlab/help-extension packages before 7.5.6 and 4.5.7, a stored cross-site scripting issue in the help command linker can be chained with attacker-controlled notebook content to steal authentication tokens with a single click. An attacker can craft a malicious notebook file containing elements that appear indistinguishable from legitimate controls and trigger execution when a user interacts with them. Successful exploitation allows theft of the user's authentication token and complete takeover of the Jupyter session through the REST API, including reading files, creating or modifying files, accessing kernels to execute arbitrary code, and creating terminals for shell access. This issue has been fixed in Notebook 7.5.6, JupyterLab 4.5.7, @jupyter-notebook/help-extension 7.5.6, and @jupyterlab/help-extension 4.5.7. As a workaround, disable the affected help extensions or set allowCommandLinker to false in the sanitizer configuration.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-notebooksid7.4.7-3fixed
Debianjupyter-notebookforky7.4.7-3fixed
Debianjupyter-notebooktrixie6.4.13-5not affected
Debianjupyter-notebookbookworm6.4.12-2.2not affected
Npm@jupyter-notebook/help-extensionNot reported7.5.6fixed
PyPInotebookNot reported7.5.6fixed
PyPIjupyterlabNot reported4.5.7fixed
Npm@jupyterlab/help-extensionNot reported4.5.7fixed
PyPIjupyterlabNot reported4.5.7fixed
Opensusepython-notebooktumbleweed7.5.6-1.1fixed
Opensusepython-jupyterlabtumbleweed4.5.7-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-notebooksourcesid7.4.7-3not yet assignedNot reportedNot reported
Debianjupyter-notebooksourceforky7.4.7-3not yet assignedNot reportedNot reported
Debianjupyter-notebooksourcetrixieNot affectedunimportantNot reportedNot reported
Debianjupyter-notebooksourcebookwormNot affectedunimportantNot reportedNot reported
Npm@jupyter-notebook/help-extensionnpmNot reported7.5.6Not reportedGHSA-RCH3-82JR-F9W9Not reported
PyPInotebookPyPINot reported7.5.6Not reportedGHSA-RCH3-82JR-F9W9Not reported
PyPIjupyterlabPyPINot reported4.5.7Not reportedGHSA-RCH3-82JR-F9W9Not reported
Npm@jupyterlab/help-extensionnpmNot reported4.5.7Not reportedGHSA-RCH3-82JR-F9W9Not reported
PyPIjupyterlabPyPINot reported4.5.7Not reportedPYSEC-2026-2538Not reported
Opensusepython-notebookrpmtumbleweed7.5.6-1.1Not reportedOPENSUSE-SU-2026:10749-1Not reported
Opensusepython-jupyterlabrpmtumbleweed4.5.7-1.1Not reportedOPENSUSE-SU-2026:10748-1Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [jupyterlab]Affected
    Details (2)
    • 4.0.11+ds1+~cs11.25.27-7 · all · trixie

      Affected

      nvd · jupyterlab · debian · 13

    • 4.0.11+ds1+~cs11.25.27-7 · all · trixie

      Affected

      nvd · jupyterlab · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-jupyterlab]

    Details (1)
    • 4.5.10-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.5.7-1.1

      Version impact unknown

      nvd · python-jupyterlab · opensuse · tumbleweed

  • Source package: [python-notebook]

    Details (1)
    • 7.5.6-1.3 · noarch · tumbleweed

      Unknown · Fixed: 7.5.6-1.1

      Version impact unknown

      nvd · python-notebook · opensuse · tumbleweed

  • Source package: [python-jupyterlab]

    Details (1)
    • 4.5.10-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.5.7-1.1

      Version impact unknown

      nvd · python-jupyterlab · opensuse · tumbleweed

  • Source package: [python-notebook]

    Details (1)
    • 7.5.6-1.3 · noarch · tumbleweed

      Unknown · Fixed: 7.5.6-1.1

      Version impact unknown

      nvd · python-notebook · opensuse · tumbleweed

  • Source package: [python-jupyterlab]

    Details (1)
    • 4.5.10-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.5.7-1.1

      Version impact unknown

      nvd · python-jupyterlab · opensuse · tumbleweed

  • Source package: [python-notebook]

    Details (1)
    • 7.5.6-1.3 · noarch · tumbleweed

      Unknown · Fixed: 7.5.6-1.1

      Version impact unknown

      nvd · python-notebook · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [jupyter-notebook]Not affected
    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

  • [python3-notebook]Not affected

    Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

  • [python-notebook-doc]Not affected

    Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

    • 6.4.12-2.2 · all · bookworm

      Not affected

      nvd · jupyter-notebook · debian · bookworm

Observed:

References