Advisory

DEBIAN-CVE-2026-40171

Also known as: CVE-2026-40171

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-06 20:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

jupyter-notebook

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.4.7-3 (ecosystem)

Fixed versions

7.4.7-3

Fix

  • Fixed version 7.4.7-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jupyterlab

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

jupyterlab

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 (ecosystem)

Fixed versions

4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3

Fix

  • Fixed version 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences