Skip to content
OpenAdvisories
High · 8.6 CVE-2026-42557 BIT-jupyter-base-notebook-2026-42557BIT-jupyter-notebook-2026-42557BIT-jupyterlab-2026-42557EUVD-2026-30000GHSA-mqcg-5x36-vfcgPYSEC-2026-2537PYSEC-2026-2681

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

Published May 13, 2026 · Updated Aug 28, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 jupyterlab 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 —
Debian 13 jupyterlab No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jupyterlab No fix yet —
Ubuntu 26.04 LTS jupyterlab No fix yet —
Ubuntu 25.10 jupyterlab No fix yet —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Alpine v3.24 jupyter-notebook 7.5.6-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
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

References