Read the docs
TI-2026-30837 Aliases CVE-2026-42557GHSA-mqcg-5x36-vfcg

jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content

Priority MEDIUM 40CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00486 42nd percentileScored 2026-11-07
Fix Partial jupyterlab (jupyterlab): 4.5.7notebook (jupyter): 7.5.6+2 more productsRed Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jupyterlabjupyterlabbefore 4.5.74.5.7Patch availableCNA
jupyterlabnotebook7.0.0 to before 7.5.67.5.6Patch availableCNA
—jupyterlab (PyPI)before 4.5.74.5.7Patch availableGHSA-mqcg-5x36-vfcg
—notebook (PyPI)7.0.0 to before 7.5.67.5.6Patch availableGHSA-mqcg-5x36-vfcg
  • jupyterlab Vendorjupyterlab Affected before 4.5.7 Fixed in 4.5.7 Patch available CNA
  • notebook Vendorjupyterlab Affected 7.0.0 to before 7.5.6 Fixed in 7.5.6 Patch available CNA
  • jupyterlab (PyPI) Vendor— Affected before 4.5.7 Fixed in 4.5.7 Patch available GHSA-mqcg-5x36-vfcg
  • notebook (PyPI) Vendor— Affected 7.0.0 to before 7.5.6 Fixed in 7.5.6 Patch available GHSA-mqcg-5x36-vfcg

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*before 4.5.7Vulnerablejupyterlab
cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*7.0.0 to before 7.5.6Vulnerablejupyterlab
  • cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* Versions before 4.5.7 Vulnerable ·jupyterlab
  • cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* Versions 7.0.0 to before 7.5.6 Vulnerable ·jupyterlab

Remediation

  • Fix · CNA jupyterlab (jupyterlab) Fixed in 4.5.7
  • Fix · CNA notebook (jupyter) Fixed in 7.5.6
  • Fix · GHSA-mqcg-5x36-vfcg jupyterlab (PyPI) Fixed in 4.5.7 Advisory →
  • Fix · GHSA-mqcg-5x36-vfcg notebook (PyPI) Fixed in 7.5.6 Advisory →

Red Hat 2 advisories

  • RHSA-2026:60520 Released 2026-08-27 · Red Hat rating Critical
    RHOAI 3.4.4 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9 +47
  • RHSA-2026:43038 Released 2026-07-21 · Red Hat rating Critical
    Migration Toolkit for Applications
    • Red Hat Migration Toolkit for Applications 8.2 registry.redhat.io/mta/mta-cli-rhel9, registry.redhat.io/mta/mta-solution-server-rhel9

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Red Hat Migration Toolkit for Applications 8.2Fixed RHSA-2026:43038
Red Hat OpenShift AI 3.4Fixed RHSA-2026:60520
Not affected: 3 products
  • Red Hat Migration Toolkit for Applications 8.2
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift AI 3.4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42557
  2. 2026-10-03 Alias added: GHSA-mqcg-5x36-vfcg
  3. 2026-10-25 EPSS moved to the below the 50th percentile
  4. 2026-10-25 Priority changed: MEDIUM → LOW
  5. 2026-11-02 Priority changed: LOW → MEDIUM

References

  • TI-2024-26623 Remote Code Execution (RCE) vulnerability in jupyterlab extension template `update-integration-tests` GitHub Action CVSS 3.1CRITICAL 10.0
  • TI-2026-30579 Improper input validation in jupyterlab CVSS 3.1HIGH 8.8
  • TI-2021-12463 JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form> CVSS 3.1CRITICAL 9.6
  • TI-2024-14994 Potential authentication and CSRF tokens leak in JupyterLab CVSS 3.1HIGH 7.6
  • TI-2024-29399 HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering CVSS 3.1HIGH 7.6
  • TI-2024-14993 Stored cross site scripting in Markdown Preview in JupyterLab CVSS 3.1MEDIUM 6.5
See all 7 →

Sources