GHSA-rch3-82jr-f9w9 · Severity: high · Ecosystem: npm — Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS
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.
Conclusion & alert: CVE-2026-40171 is rated Low Risk (39.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-31 | 0.04% | 0.05% | +0.01% |
| 2 | 2026-05-22 | 0.10% | 0.04% | -0.06% |
| 3 | 2026-05-07 | — | 0.10% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.4 | 4.0 | HIGH |
|
— | — | [email protected] |
GHSA-rch3-82jr-f9w9 · Severity: high · Ecosystem: npm — Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40171 not yet assigned priority: Debian including 2 source packages (jupyter-notebook, jupyterlab), 8 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 8. | https://security-tracker.debian.org/tracker/CVE-2026-40171 |
ubuntu
|
medium | CVE-2026-40171 medium priority: Ubuntu including 1 source packages (jupyter-notebook), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): needs-triage 7. | https://ubuntu.com/security/CVE-2026-40171 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||