CVE-2026-42557: Vulnerability in Jupyterlab

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

PyPI, CWE-79

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-mqcg-5x36-vfcg
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-79
Published
6 May 2026
Last change
25 Oct 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Jupyterlab Before 4.5.7. Fixed in 4.5.7
  • Jupyter Notebook From 7.0.0 before 7.5.6. Fixed in 7.5.6

Affected packages

Vulnerable version ranges and fixed releases

  • jupyterlab PyPI, Affected through 4.5.6. Fixed in 4.5.7
  • notebook PyPI, Affected from 7.0.0 through 7.5.5. Fixed in 7.5.6

Advisories

Vendor and security advisories

Related