CVE-2026-42266

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

Published May 13, 2026 CVSS 3.1 · 8.8 High EPSS 5.7% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability originates in the Extension Manager’s enforcement of the allowed_extensions_uris allow‑list. Between JupyterLab versions 4.0.0 and 4.5.6, the allow‑list was not effectively applied, allowing an attacker to send a POST request to install an extension from any PyPI package, not just those on the default index. This bypass enables installation of malicious extensions, which can execute code within the JupyterLab server or the user’s browser, achieving remote code execution. The weakness is described by CWE‑602 and CWE‑88.

Affected Systems

All JupyterLab installations from version 4.0.0 through 4.5.6 are vulnerable. The issue is fixed starting with version 4.5.7.

Risk and Exploitability

The CVSS score of 8.8 classifies this as a high‑severity vulnerability. The EPSS score is 6%, and it is not listed in the CISA KEV catalog. The likely attack vector is an unauthenticated or authenticated POST request to the Extension Manager API, which requires network access to the JupyterLab server. Successful exploitation would allow the adversary to deliver malicious code via an installed extension.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade JupyterLab to version 4.5.7 or later, which enforces the extension allow‑list correctly.
  • If an immediate upgrade is not possible, temporarily block or restrict access to the Extension Manager POST endpoint using a firewall or reverse‑proxy rule to prevent unauthorized extension installations.
  • Configure the allowed_extensions_uris setting to whitelist only trusted PyPI indexes and enforce that only those URIs can be used for extension installation.

Generated by OpenCVE AI on October 25, 2026 at 18:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-37w4-hwhx-4rc4 JupyterLab has an Extension Manager API/GUI Policy Discrepancy, allowing 3rd party (malicious) extensions install via POST request
History
Type Values Removed Values Added
CPEs cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
Type Values Removed Values Added
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. 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.
Title jupyterlab: Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request. JupyterLab has an Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request.
References
Type Values Removed Values Added
First Time appeared Jupyter
Jupyter jupyterlab
Vendors & Products Jupyter
Jupyter jupyterlab
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title jupyterlab: Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request.
Weaknesses CWE-602
CWE-88
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-602

    Client-Side Enforcement of Server-Side Security

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 28, 2026, 12:04 PM
Reserved
Apr 26, 2026, 11:53 AM
Status
Modified
Published
May 13, 2026, 4:16 PM
Modified
Nov 11, 2026, 8:10 PM