216.73.217.64

CVE-2026-40171

· Published 06/05/2026 20:16 · Modified 06/05/2026 20:16

Labels: CVE-2026-40171 2026-05-06CVE-2026-40171CWE-79[email protected]

Essential information

Published
06/05/2026 20:16
Modified
06/05/2026 20:16
Author
Creator
CVSS
8.4 HIGH (v3) 8.4 HIGH (v4.0)
CISA KEV
No
CWE
CVSS vector

CVSS metrics

Description

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.

NVD status

Status
Received — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
jupyter / jupyter notebook cpe:2.3:a:jupyter:jupyter_notebook:7.0.0-7.5.5:*:*:*:*:*:*:*
jupyter / jupyterlab cpe:2.3:a:jupyter:jupyterlab:4.5.6:*:*:*:*:*:*:*
jupyter / @jupyter-notebook cpe:2.3:a:jupyter:@jupyter-notebook:help-extension:*:*:*:*:*:*:*
jupyter / @jupyterlab cpe:2.3:a:jupyter:@jupyterlab:help-extension:*:*:*:*:*:*:*

References