Bug 2477086 (CVE-2026-42557) - CVE-2026-42557 jupyterlab: JupyterLab: Arbitrary code execution via deceptive button in HTML output
Summary: CVE-2026-42557 jupyterlab: JupyterLab: Arbitrary code execution via deceptive...
Keywords:
Status: NEW
Alias: CVE-2026-42557
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2490266 2490268
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-13 16:03 UTC by OSIDB Bzimport
Modified: 2026-06-18 10:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-13 16:03:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.