CVE-2026-40171
published high CVSS 4.0 · 8.4Jupyter Notebook and JupyterLab token theft via stored XSS in help command linker
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | notebook>=7.0.0, <= 7.5.5 | Affected | Not stated | GitHub_M |
| jupyterlab | — | help-extension<=4.5.6 | Affected | Not stated | GitHub_M |
| jupyterlab | — | jupyterlab<= 4.5.6 | Affected | Not stated | GitHub_M |
| jupyter-notebook | — | help-extension>=7.0.0,<= 7.5.5 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | jupyter-notebook | Fixed | 7.5.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| Alpine Linux | v3.24 | jupyter-notebook | Fixed | 7.5.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | notebook | >=7.0.0, <= 7.5.5 (affected) | GitHub_M · cna |
| jupyterlab | help-extension | <=4.5.6 (affected) | GitHub_M · cna |
| jupyterlab | jupyterlab | <= 4.5.6 (affected) | GitHub_M · cna |
| jupyter-notebook | help-extension | >=7.0.0,<= 7.5.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2GitHub_M · cna
Jupyter Notebook and JupyterLab token theft via stored XSS in help command linker
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ae4e9f9830425ab4b04985e4b5b54231f63ffa53f2e87d75e8413d5e2b9762a
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record