CVE-2026-42266
JSON

8.8high

JupyterLab has an Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request.

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
5.65% (higher than 93% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-37w4-hwhx-4rc4BIT-JUPYTERLAB-2026-42266PYSEC-2026-164

Description

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.0.0 to 4.5.6, the allow-list of extensions that can be installed from PyPI Extension Manager (allowed_extensions_uris) is not correctly enforced by JupyterLab. The PyPI Extension Manager was not contained to packages listed on the default PyPI index. This vulnerability is fixed in 4.5.7.

Affected

Product or packageVersionsReported by
jupyterlab jupyterlab>= 4.0.0, < 4.5.7CVE List
mta/mta-solution-server-rhel9Not specified
Not affected: from 1784109883 before *
CVE List
rhoai/odh-th06-cpu-torch210-py312-rhel9Not specified
Not affected: from 1787076778 before *
CVE List
rhoai/odh-th06-cuda130-torch210-py312-rhel9Not specified
Not affected: from 1787077779 before *
CVE List
rhoai/odh-th06-rocm64-torch291-py312-rhel9Not specified
Not affected: from 1787076481 before *
CVE List
rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Not specified
Not affected: from 1787074331 before *
CVE List
rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Not specified
Not affected: from 1787073913 before *
CVE List
rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Not specified
Not affected: from 1787074078 before *
CVE List
rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9Not specified
Not affected: from 1787073929 before *
CVE List
rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Not specified
Not affected: from 1787073605 before *
CVE List
rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Not specified
Not affected: from 1787073546 before *
CVE List
rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Not specified
Not affected: from 1787073717 before *
CVE List

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-20CWE-88CWE-602

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.0.0 to 4.5.6, the allow-list of extensions that can be installed from PyPI Extension Manager (allowed_extensions_uris) is not correctly enforced by JupyterLab. The PyPI Extension Manager was not contained to packages listed on the default PyPI index. This vulnerability is fixed in 4.5.7.

GitHub Advisory Database

The allow-list of extensions that can be installed from PyPI Extension Manager (allowed_extensions_uris) is not correctly enforced by JupyterLab prior to 4.5.7. The PyPI Extension Manager was not contained to packages listed on the default PyPI index.

This has security implications for deployments that:

  • have allow-listed specific extensions with aim to prevent users from installing packages
  • have the kernel and terminals disabled or delegated to remote hosts (thus no access to install packages in the single-user server environment)
  • have multi-tenant deployments that is not configured for untrusted users (as per documented on JupyterHub https://jupyterhub.readthedocs.io/en/5.2.1/explanation/websecurity.html)
  • have the (default) PyPI Extension Manager enabled
Impact

An authenticated attacker - such as a student in a shared JupyterHub environment or a user in a multi-tenant JupyterLab deployment - can escalate their privileges. This might allow for data exfiltration, lateral movement within the network, and persistent compromise of the server infrastructure.

Patches

JupyterLab v4.5.7 contains the patch.

Users of applications that depend on JupyterLab, such as Notebook v7+, should update jupyterlab package too.

Workarounds

Switch to read-only extension manager by adding the following command line option:

--LabApp.extension_manager=readonly

or the following traitlet:

c.LabApp.extension_manager = 'readonly'

You can confirm that the read-only manager is in use from GUI:

image

Note: configuration of a PyPI proxy with allow-listed packages is not sufficient to protect from this vulnerability.

References
NVD (es)

jupyterlab es un entorno extensible para computación interactiva y reproducible, basado en la Arquitectura de Jupyter Notebook. Desde la versión 4.0.0 hasta la 4.5.6, la lista de permitidos de extensiones que pueden instalarse desde el Gestor de Extensiones de PyPI (allowed_extensions_uris) no es aplicada correctamente por JupyterLab. El Gestor de Extensiones de PyPI no estaba restringido a los paquetes listados en el índice predeterminado de PyPI. Esta vulnerabilidad está corregida en la versión 4.5.7.

References

https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-37w4-hwhx-4rc4advisory, mitigation, vendor-advisory, web
https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.7fix, patch, release-notes, web
https://jupyterhub.readthedocs.io/en/5.2.1/explanation/websecurity.htmlproduct, web
https://jupyterlab.readthedocs.io/en/latest/user/extensions.html#extension-manager-implementationsproduct, web
https://access.redhat.com/security/cve/CVE-2026-42266vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2477072issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42266.jsonweb
https://access.redhat.com/errata/RHSA-2026:43038vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60520vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-42266advisory, web
https://github.com/jupyterlab/jupyterlabpackage
https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2026-164.yamlweb

Sources

SourceRecordLicence
CVE ListCVE-2026-42266 changed 2026-08-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-37w4-hwhx-4rc4 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-42266 changed 2026-11-11Public domain
PyPA Advisory DatabasePYSEC-2026-164 changed 2026-05-27CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-JUPYTERLAB-2026-42266 changed 2026-09-08Apache-2.0