CVE-2026-42557
Published:May 13, 2026
Updated:May 16, 2026
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 Packages
jupyterlab (CONDA):
Affected version(s) >=0.0.5 <4.5.7Fix Suggestion:
Update to version 4.5.7notebook (CONDA):
Affected version(s) >=7.0.0 <7.5.6Fix Suggestion:
Update to version 7.5.6https://github.com/jupyterlab/jupyterlab.git (GITHUB):
Affected version(s) >=v <v4.5.7Fix Suggestion:
Update to version v4.5.7notebook (PYTHON):
Affected version(s) >=7.0.0 <7.5.6Fix Suggestion:
Update to version 7.5.6jupyterlab (PYTHON):
Affected version(s) >=0.0.1 <4.5.7Fix Suggestion:
Update to version 4.5.7jupyterlab (PYTHON):
Affected version(s) >=0.0.1 <4.5.7Fix Suggestion:
Update to version 4.5.7Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.08