🛡️ CVE-2026-40171 on Debian — jupyter-notebook
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.
Distribution advisory
This page covers CVE-2026-40171 as tracked by Debian, for the package jupyter-notebook. The fix is available in version 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. A user must actively cooperate. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
DEBIAN-CVE-2026-40171 is recorded against 2 packages.
- jupyter-notebook
- jupyterlab (fixed in 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3)
Timeline and source
Published on 6 May 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-40171 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
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
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| jupyter-notebook | — | — |
| jupyterlab | — | 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 |
References
Similar Threats
- High CVE-2026-42557
- High CVE-2026-40171
- High CVE-2024-43805
- Unknown MGASA-2024-0067
- Medium CVE-2020-26215
More DEBIAN CVE 2026 advisories
Browse all of DEBIAN CVE 2026 in the advisory index.
- DEBIAN-CVE-2026-40080
- DEBIAN-CVE-2026-40082
- DEBIAN-CVE-2026-40083
- DEBIAN-CVE-2026-40084
- DEBIAN-CVE-2026-40110
- DEBIAN-CVE-2026-40164
- DEBIAN-CVE-2026-40169
- DEBIAN-CVE-2026-40170
- DEBIAN-CVE-2026-40175
- DEBIAN-CVE-2026-40176
- DEBIAN-CVE-2026-40183
- DEBIAN-CVE-2026-40192
- DEBIAN-CVE-2026-40194
- DEBIAN-CVE-2026-40195
- DEBIAN-CVE-2026-40197
- DEBIAN-CVE-2026-40198
Site Security Check
Is jupyter-notebook part of your stack?
DEBIAN-CVE-2026-40171 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.