DEBIAN-CVE-2026-40171

Source
https://security-tracker.debian.org/tracker/CVE-2026-40171
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40171.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-40171
Upstream
Published
2026-05-06T20:16:31Z
Modified
2026-09-14T17:03:10Z
Severity
  • 8.4 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:14 / jupyter-notebook

Package

Name
jupyter-notebook
Purl
pkg:deb/debian/jupyter-notebook?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7.4.7-3

Affected versions

6.*
6.4.13-5
7.*
7.0.0-1
7.0.0-2
7.4.7-1
7.4.7-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40171.json"

Debian:13 / jupyterlab

Package

Name
jupyterlab
Purl
pkg:deb/debian/jupyterlab?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.11+ds1+~cs11.25.27-7
4.0.11+ds1+~cs11.25.27-8
4.0.11+ds1+~cs11.25.27-9
4.0.11+ds2+~cs11.25.27-1
4.0.11+ds2+~cs11.25.27-3
4.0.11+ds3+~cs11.25.27-1
4.0.11+ds4+~cs11.25.27-1
4.0.11+ds4+~cs11.25.27-2
4.0.11+ds4+~cs11.25.27-3
4.0.11+ds4+~cs11.25.27-4
4.0.11+ds5+~cs11.25.27-1
4.0.13+ds1+~2.0.1+~cs1.4.4-1
4.1.3+ds1+~2.0.1+~0.15.3+~cs1.4.4-1
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-1
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-2
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-3
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-4
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-5
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-6
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-7
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-8
4.4.1+ds1+~3.0.5+~0.16.6+~cs1.4.4-1
4.4.8+ds1+~3.1.0+~0.16.6+~cs1.4.4-1
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-1
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-2
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-4
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-5
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40171.json"

Debian:14 / jupyterlab

Package

Name
jupyterlab
Purl
pkg:deb/debian/jupyterlab?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3

Affected versions

4.*
4.0.11+ds1+~cs11.25.27-7
4.0.11+ds1+~cs11.25.27-8
4.0.11+ds1+~cs11.25.27-9
4.0.11+ds2+~cs11.25.27-1
4.0.11+ds2+~cs11.25.27-3
4.0.11+ds3+~cs11.25.27-1
4.0.11+ds4+~cs11.25.27-1
4.0.11+ds4+~cs11.25.27-2
4.0.11+ds4+~cs11.25.27-3
4.0.11+ds4+~cs11.25.27-4
4.0.11+ds5+~cs11.25.27-1
4.0.13+ds1+~2.0.1+~cs1.4.4-1
4.1.3+ds1+~2.0.1+~0.15.3+~cs1.4.4-1
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-1
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-2
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-3
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-4
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-5
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-6
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-7
4.1.8+ds1+~2.0.1+~0.15.3+~cs1.4.4-8
4.4.1+ds1+~3.0.5+~0.16.6+~cs1.4.4-1
4.4.8+ds1+~3.1.0+~0.16.6+~cs1.4.4-1
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-1
4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40171.json"