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 package | Versions | Reported by |
|---|---|---|
| jupyterlab jupyterlab | >= 4.0.0, < 4.5.7 | CVE List |
| mta/mta-solution-server-rhel9 | Not specified Not affected: from 1784109883 before * | CVE List |
| rhoai/odh-th06-cpu-torch210-py312-rhel9 | Not specified Not affected: from 1787076778 before * | CVE List |
| rhoai/odh-th06-cuda130-torch210-py312-rhel9 | Not specified Not affected: from 1787077779 before * | CVE List |
| rhoai/odh-th06-rocm64-torch291-py312-rhel9 | Not specified Not affected: from 1787076481 before * | CVE List |
| rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9 | Not specified Not affected: from 1787074331 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9 | Not specified Not affected: from 1787073913 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9 | Not specified Not affected: from 1787074078 before * | CVE List |
| rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9 | Not specified Not affected: from 1787073929 before * | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9 | Not specified Not affected: from 1787073605 before * | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9 | Not specified Not affected: from 1787073546 before * | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 | Not specified Not affected: from 1787073717 before * | CVE List |
| rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | Not specified Not affected: from 1787073713 before * | CVE List |
| rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9 | Not specified Not affected: from 1787073593 before * | CVE List |
| rhoai/odh-th06-cpu-torch291-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-cuda130-torch291-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 | Not specified | CVE List |
| jupyterlab (PyPI) | from 4.0.0 before 4.5.7 | GitHub Advisory Database, PyPA Advisory Database |
| jupyter jupyterlab | from 4.0.0 before 4.5.7 | NVD |
| jupyterlab (Bitnami) | from 4.0.0 before 4.5.7 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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:
imageNote: 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-4rc4 | advisory, mitigation, vendor-advisory, web | |
| https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.7 | fix, patch, release-notes, web | |
| https://jupyterhub.readthedocs.io/en/5.2.1/explanation/websecurity.html | product, web | |
| https://jupyterlab.readthedocs.io/en/latest/user/extensions.html#extension-manager-implementations | product, web | |
| https://access.redhat.com/security/cve/CVE-2026-42266 | vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2477072 | issue-tracking, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42266.json | web | |
| https://access.redhat.com/errata/RHSA-2026:43038 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:60520 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42266 | advisory, web | |
| https://github.com/jupyterlab/jupyterlab | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2026-164.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42266 changed 2026-08-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-37w4-hwhx-4rc4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-42266 changed 2026-11-11 | Public domain |
| PyPA Advisory Database | PYSEC-2026-164 changed 2026-05-27 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-JUPYTERLAB-2026-42266 changed 2026-09-08 | Apache-2.0 |