CVSS 4.0
8.6 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NHigh (8.6) in jupyter. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in jupyterlab 4.5.7.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hjupyterlab (PyPI): fixed in 4.5.7notebook (PyPI): fixed in 7.5.6Explain CVE-2026-42557 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42557?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42557?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42557 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| jupyter:jupyterlab | before 4.5.7 |
| jupyter:notebook | from 7.0.0 before 7.5.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mqcg-5x36-vfcg | PyPI | jupyterlab | <4.5.7 | 4.5.7 |
| GHSA-mqcg-5x36-vfcg | PyPI | notebook | >=7.0.0 <7.5.6 | 7.5.6 |
| PYSEC-2026-2537 | PyPI | jupyterlab | <4.5.7 | 4.5.7 |
| PYSEC-2026-2681 | PyPI | notebook | >=7.0.0 <7.5.6 | 7.5.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | jupyterlab | no fix listed | DEBIAN-CVE-2026-42557 |
| Debian | 14 | jupyterlab | 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3 | DEBIAN-CVE-2026-42557 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | jupyterlab | no fix listed | UBUNTU-CVE-2026-42557 |
| 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 |
| Alpine | v3.24 | jupyter-notebook | 7.5.6-r0 | ALPINE-CVE-2026-42557 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.
Red Hat rates this Important.
This Important vulnerability in JupyterLab allows arbitrary code execution through a deceptive button embedded in a notebook's HTML output. When a user clicks this specially crafted button, the CommandLinker component executes unauthorized JupyterLab commands, bypassing security validation. This can lead to compromise of the user's environment, including data loss or denial of service, particularly in Red Hat products utilizing JupyterLab such as Migration Toolkit for Applications and Red Hat OpenShift AI. Exploitation requires user interaction.
Users should avoid opening or interacting with JupyterLab notebooks from untrusted sources. Exercise caution and verify the origin of any notebook before clicking buttons within its output, as this action could lead to the execution of arbitrary commands.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Migration Toolkit for Applications 8.2 | mta/mta-solution-server-rhel9:1784109883 | Fixed 2026-07-21 | RHSA-2026:43038 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-th06-cpu-torch210-py312-rhel9:1787076778 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-th06-cuda130-torch210-py312-rhel9:1787077779 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-th06-rocm64-torch291-py312-rhel9:1787076481 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1787074331 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1787073913 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1787074078 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1787073929 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1787073605 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1787073546 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1787073717 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1787073713 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1787073593 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cpu-torch291-py312-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-th06-cuda130-torch291-py312-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42557.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.