# CVE-2026-42557: jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-13 · Modified: 2026-08-28
- Aliases: GHSA-mqcg-5x36-vfcg, BIT-jupyter-base-notebook-2026-42557, BIT-jupyter-notebook-2026-42557, BIT-jupyterlab-2026-42557, PYSEC-2026-2537, PYSEC-2026-2681, UBUNTU-CVE-2026-42557, DEBIAN-CVE-2026-42557, CGA-55vj-h32p-5574, CGA-h92j-vh83-w6q2, CGA-vhgr-9hqm-mmhm, CGA-x7mh-3p5g-5fr4, ALPINE-CVE-2026-42557
- Record: https://cvemate.com/vulnerability/CVE-2026-42557 · JSON: https://cvemate.com/vulnerability/CVE-2026-42557/json

## Description

```text
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.
```

## Signals

- CVSS: 9.6 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.486%, percentile 43.53%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine jupyter-notebook (Alpine Linux): \< 7.5.6-r0
- chainguard datahub-ingestion-fips (Chainguard): \< 1.5.0.1-r2
- debian jupyterlab (Debian): All versions (No fix recorded) \| \< 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3
- ubuntu jupyterlab (Ubuntu): All versions (No fix recorded)
- jupyter jupyterlab: \< 4.5.7
- jupyter notebook: ≥ 7.0.0, \< 7.5.6
- jupyterlab jupyterlab: \< 4.5.7
- PyPI jupyterlab (PyPI): \< 4.5.7
- PyPI notebook (PyPI): ≥ 7.0.0, \< 7.5.6

## References

- <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg>
- <https://access.redhat.com/security/cve/CVE-2026-42557>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2477086>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42557.json>
- <https://access.redhat.com/errata/RHSA-2026:43038>
- <https://access.redhat.com/errata/RHSA-2026:60520>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42557>
- <https://github.com/jupyterlab/jupyterlab>
- <https://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-files>
- <https://pypi.org/project/jupyterlab>
- <https://github.com/advisories/GHSA-mqcg-5x36-vfcg>
- <https://pypi.org/project/notebook>
- <https://ubuntu.com/security/CVE-2026-42557>
- <https://www.cve.org/CVERecord?id=CVE-2026-42557>
- <https://security-tracker.debian.org/tracker/CVE-2026-42557>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42557.json>
- <https://security.alpinelinux.org/vuln/CVE-2026-42557>

---

Data as of 2026-12-05T09:21:52.422Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
