Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-40171

Fixed in a distro release EPSS <1%CVSS 8.4

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.

Published 2026-05-06 · CVE record · OSV

Products: jupyter notebook, jupyterlab help-extension, jupyterlab, jupyter-notebook help-extension

Fixed upstream

EcosystemPackageFixed in
PyPIjupyterlab4.5.7
PyPInotebook7.5.6
npm@jupyter-notebook/help-extension7.5.6
npm@jupyterlab/help-extension4.5.7

Distro releases

ReleasePackageFixed in
Chainguarddatahub-ingestion1.5.0.4-r0
Chainguarddatahub-ingestion-fips1.5.0.1-r1
Chainguardjupyter-base-notebook7.5.6-r0
Chainguardtensorflow-cpu-jupyter2.21.0-r2
Chainguardtensorflow-gpu-jupyter2.21.0-r2
Debian 13jupyterlabno fix
Debian 14jupyter-notebook7.4.7-3
Debian 14jupyterlab4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3
Ubuntu 18.04 LTSjupyter-notebookno fix
Ubuntu 20.04 LTSjupyter-notebookno fix
Ubuntu 25.10jupyter-notebookno fix
Ubuntu 26.04 LTSjupyter-notebookno fix
Ubuntu 26.10jupyter-notebookno fix
Ubuntu Pro 22.04 LTSjupyter-notebookno fix
Ubuntu Pro 24.04 LTSjupyter-notebookno fix
Wolfijupyter-base-notebook7.5.6-r0
openSUSE Tumbleweedpython-jupyterlab4.5.7-1.1
openSUSE Tumbleweedpython-notebook7.5.6-1.1