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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyter | notebook | >=7.0.0, <= 7.5.5 | — |
| jupyterlab | help-extension | <=4.5.6 | — |
| jupyterlab | jupyterlab | <= 4.5.6 | — |
| jupyter-notebook | help-extension | >=7.0.0,<= 7.5.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jupyter-notebook | 7.4.7-3 | — |
| Debian 14 | jupyterlab | 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 | — |
| Debian 13 | jupyterlab | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | jupyter-notebook | No fix yet | — |
| Ubuntu 25.10 | jupyter-notebook | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-jupyterlab | 4.5.7-1.1 | openSUSE-SU-2026:10748-1 |
| openSUSE Tumbleweed | python-notebook | 7.5.6-1.1 | openSUSE-SU-2026:10749-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | jupyter-notebook | 7.5.6-r0 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | jupyter-base-notebook | 7.5.6-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @jupyter-notebook/help-extension | >= 7.0.0, < 7.5.6 | 7.5.6 | GHSA-rch3-82jr-f9w9 |
| npm | @jupyterlab/help-extension | < 4.5.7 | 4.5.7 | GHSA-rch3-82jr-f9w9 |
| PyPI | jupyterlab | < 4.5.7 | 4.5.7 | GHSA-rch3-82jr-f9w9 |
| PyPI | notebook | >= 7.0.0, < 7.5.6 | 7.5.6 | GHSA-rch3-82jr-f9w9 |
Advisories 2
- openSUSE-SU-2026:10749-1 jupyter-notebook-7.5.6-1.1 on GA media SUSE / openSUSE Security Updates · May 12, 2026
- openSUSE-SU-2026:10748-1 jupyter-jupyterlab-4.5.7-1.1 on GA media SUSE / openSUSE Security Updates · May 12, 2026