CVE-2026-42557jupyterlab: Command linker attributes in HTML enable one-click command execution from…
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jupyterlab | Fix pending | UBUNTU-CVE-2026-42557 | |
| Ubuntu 26.04 | jupyterlab | Fix pending | UBUNTU-CVE-2026-42557 | |
| Ubuntu 25.10 | jupyterlab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-42557 | |
| Debian 14 | jupyterlab | Fixed | 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 | DEBIAN-CVE-2026-42557 |
| Debian 13 | jupyterlab | Fix pending | DEBIAN-CVE-2026-42557 | |
| Alpine Linux 3.24 | jupyter-notebook | Fixed | 7.5.6-r0 | ALPINE-CVE-2026-42557 |
| PyPI library | jupyterlab | Fixed | 4.5.7 | PYSEC-2026-2537 |
| PyPI library | notebook | Fixed | 7.5.6 | PYSEC-2026-2681 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jupyterlab: affected: < 4.5.7
- jupyter notebook: affected: >= 7.0.0, < 7.5.6
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.