CVE-2026-42557
published high CVSS 4.0 · 8.6jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyterlab | — | jupyterlab< 4.5.7 | Affected | Not stated | GitHub_M |
| jupyter | — | notebook>= 7.0.0, < 7.5.6 | Affected | Not stated | GitHub_M |
| Red Hat | — | mta/mta-solution-server-rhel9Red Hat Migration Toolkit for Applications 8.2 · 1784109883 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cpu-torch210-py312-rhel9Red Hat OpenShift AI 3.4 · 1787076778 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Alpine Linux | edge | jupyter-notebook | Fixed | 7.5.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| Alpine Linux | v3.24 | jupyter-notebook | Fixed | 7.5.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
Show 44 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-th06-cuda130-torch210-py312-rhel9Red Hat OpenShift AI 3.4 · 1787077779 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-rocm64-torch291-py312-rhel9Red Hat OpenShift AI 3.4 · 1787076481 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787074331 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073913 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787074078 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073929 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073605 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073546 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073717 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073713 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Red Hat OpenShift AI 3.4 · 1787073593 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cpu-torch291-py312-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-th06-cuda130-torch291-py312-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabaarch64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabppc64le | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabs390x | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-jupyterlabx86_64 | Advisory build | 4.5.7-1.1 | OPENSUSE-SU-2026:10748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookaarch64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookppc64le | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebooks390x | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-notebookx86_64 | Advisory build | 7.5.6-1.1 | OPENSUSE-SU-2026:10749-1 |
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.
A flaw was found in jupyterlab. This vulnerability allows a remote attacker to achieve arbitrary code execution by presenting a user with a specially crafted notebook containing a deceptive button in its pre-saved HTML cell output. When the user clicks this button, the CommandLinker component executes arbitrary JupyterLab commands without sufficient validation, leading to the execution of unauthorized code.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyterlab | jupyterlab | < 4.5.7 (affected) | GitHub_M · cna |
| jupyter | notebook | >= 7.0.0, < 7.5.6 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Migration Toolkit for Applications 8.2 | 1784109883 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787076778 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787077779 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787076481 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787074331 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073913 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787074078 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073929 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073605 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073546 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073717 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073713 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.4 | 1787073593 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://access.redhat.com/errata/RHSA-2026:43038
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-42557
- RHBZ#2477086 https://bugzilla.redhat.com/show_bug.cgi?id=2477086
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42557.json
Provider assertions
3GitHub_M · cna
jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content
redhat-SADP · adp
jupyterlab: JupyterLab: Arbitrary code execution via deceptive button in HTML output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bd32970b1df42d690c9577afe913d51b1eb22240d16ecad8561c6d45bd603771
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record