CVE-2026-42557Jupyterlab
High 8.6 No auth needed
Follow: this CVE · Jupyter · Jupyterlab We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- May 13, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for Jupyterlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | jupyterlab |
< 4.5.7 |
4.5.7 |
pip install "jupyterlab>=4.5.7" |
| PyPI | jupyterlab |
< 4.5.7 |
4.5.7 |
pip install "jupyterlab>=4.5.7" |
| PyPI | notebook |
≥ 7.0.0 < 7.5.6 |
7.5.6 |
pip install "notebook>=7.5.6" |
| PyPI | notebook |
≥ 7.0.0 < 7.5.6 |
7.5.6 |
pip install "notebook>=7.5.6" |
Per OSV / GitHub Advisories (GHSA-mqcg-5x36-vfcg, PYSEC-2026-2537, PYSEC-2026-2681). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | jupyterlab | < 4.5.7 |
| jupyter | notebook | ≥ 7.0.0 < 7.5.6 |
Official advisories
- jupyter-jupyterlab-4.5.7-1.1 on GA media · SUSE · openSUSE-SU-2026:10748-1 · May 11, 2026 High
- jupyter-notebook-7.5.6-1.1 on GA media · SUSE · openSUSE-SU-2026:10749-1 · May 11, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com