CVEfocus › CVE database › CVE-2026-42557

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

CVSS 8.6 HighEPSS 0.9% (higher than 59% of CVEs)Published 2026-05-13Updated 2026-08-28Assigner: GitHub_M

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.

CWE-79

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

4Fixed
3Fix pending
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyterlabFix pendingUBUNTU-CVE-2026-42557
Ubuntu 26.04jupyterlabFix pendingUBUNTU-CVE-2026-42557
Ubuntu 25.10jupyterlabWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42557
Debian 14jupyterlabFixed4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3DEBIAN-CVE-2026-42557
Debian 13jupyterlabFix pendingDEBIAN-CVE-2026-42557
Alpine Linux 3.24jupyter-notebookFixed7.5.6-r0ALPINE-CVE-2026-42557
PyPI libraryjupyterlabFixed4.5.7PYSEC-2026-2537
PyPI librarynotebookFixed7.5.6PYSEC-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.

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.