Media

JupyterLab: PyPI extension blocklist package-name canonicalization bypass

  • Publicada: 22.07.2026
  • Actualizado: 11.10.2026 15:17

JupyterLab's PyPI extension manager enforces blocked_extensions_uris by comparing the requested install name to blocklist entries with a custom string normalization that is weaker than PyPI package-name canonicalization. An authenticated user can request a PyPI-equivalent spelling such as JupyterLab.Git for a blocklisted package such as jupyterlab-git; JupyterLab accepts the install request even though pip resolves the variant to the same package.

This has security implications only for deployments that combine all of the following:

  • an allowlist/blocklist configured with the intent of restricting which packages users can install;
  • the (default) PyPI Extension Manager enabled; and
  • kernels and terminals disabled or delegated to remote hosts (otherwise a user with kernel access can install packages directly regardless of this check)

Impact

The vulnerability lets an authenticated user install a package the operator specifically intended to block, defeating the allowlist/blocklist control. Because extensions in principle allow for arbitrary code execution, this vulnerability enables untrusted users to impact the integrity and availability of the jupyter-server instance that was provisioned to them. The user already has access to their own single-user server's data, so installing an extension grants no new read access.

In particular, the integrity of data can be impacted, and any hardening or restrictions on permitted user actions (download/upload limits) within the single-user server can be circumvented. Availability impact on a JupyterHub deployment is limited: while a user can be expected to exhaust their own kernel pod's resources, this vulnerability makes it easier to also exhaust the single-user server resources or generate more requests to shared resources; where limits are absent, resource exhaustion could potentially degrade the wider deployment.

Patches

JupyterLab v4.6.2 and v4.5.10 contain the patch.

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

Workarounds

No action is required for deployments that do not have a custom allow/block list configured. Deployments wanting to disable programmatic extension installation entirely can switch to the read-only extension manager:

bash
--LabApp.extension_manager=readonly

or the following traitlet:

python
c.LabApp.extension_manager = 'readonly'

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

<img width="293" height="293" alt="image" src="https://github.com/user-attachments/assets/8016c809-633e-4ed0-a5bc-6bc4793caa0f" />

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) jupyterlab >= 4.6.0, < 4.6.2, >= 4.5.0, < 4.5.10 4.6.2, 4.5.10

Referencias

Puntuación CVSS -
Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Debilidad (CWE)
CWE-178, CWE-180
Plataforma
Python (PyPI)
Paquete
jupyterlab
Publicada
22.07.2026
Actualizado
11.10.2026 15:17

Fuentes y licencias

OSV / GitHub Advisory Database - PYSEC-2026-3670 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-89vp-jrxv-24w8 - CC BY 4.0

Historial de vulnerabilidades: jupyterlab

Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (19) en el archivo
Entradas en total
19
Primera → última
08.2021 10.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 1
  • Alta 8
  • Media 8
  • Baja 2

Divulgaciones por año

  1. 2021: 1
  2. 2022: 0
  3. 2023: 0
  4. 2024: 4
  5. 2025: 1
  6. 2026: 13
Gravedad:
  1. Alta · 8.1 CVE-2026-102831 >= 4.5.0, < 4.5.11, >= 4.6.0, < 4.6.4 4.5.11, 4.6.4
  2. Alta CVE-2026-73417 >= 4.6.0, < 4.6.2, >= 3.3.0, < 4.5.10 4.6.2, 4.5.10
  3. Alta CVE-2026-73415 >= 4.6.0, < 4.6.2, < 4.5.10 4.6.2, 4.5.10
  4. JupyterLab: PyPI extension blocklist package-name canonicalization bypass esta entrada
    Media CVE-2026-73416 >= 4.6.0, < 4.6.2, >= 4.5.0, < 4.5.10 4.6.2, 4.5.10
  5. Alta · 7.6 CVE-2024-43805 < 3.6.8, >= 4.0.0, < 4.2.5 3.6.8, 4.2.5
  6. Alta · 7.6 CVE-2024-22421 >= 4.0.0, < 4.0.11, < 3.6.7 4.0.11, 3.6.7

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.