Description
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyterlab | jupyterlab | < 4.5.7 | — |
| jupyter | notebook | >= 7.0.0, < 7.5.6 | — |
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 | 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 | jupyterlab | No fix yet | — |
| Ubuntu 26.04 LTS | jupyterlab | No fix yet | — |
| Ubuntu 25.10 | jupyterlab | 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 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | jupyterlab | < 4.5.7 | 4.5.7 | GHSA-mqcg-5x36-vfcg |
| PyPI | notebook | >= 7.0.0, < 7.5.6 | 7.5.6 | GHSA-mqcg-5x36-vfcg |
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