JupyterLab: Allowlist/blocklist check
Affects jupyterlabSource GCVE Database
CVSS 0.0 Low : upgrade to 4.6.2 when convenient.
Data as of 23 Jul 2026, 01:23 UTC
- Patch
- Available – fixed in 4.6.2, 4.5.10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:NWhat to do
Upgrade jupyterlab to 4.6.2; jupyterlab to 4.5.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIjupyterlab | Affected
| Fixed in
|
| PyPIjupyterlab | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in JupyterLab versions 4.6.2 and 4.5.10. Users should update to these or later versions to remediate the issue. No action is required for deployments that only use the HTTP API or Extension Manager UI for extension installation, as those paths already enforce the allowlist/blocklist. Deployments wishing to disable programmatic extension installation entirely can configure the extension manager to read-only mode using the --LabApp.extension_manager=readonly command-line option or the c.LabApp.extension_manager = 'readonly' configuration traitlet.
Description
A missing await in JupyterLab's PyPIExtensionManager.install() method caused the allowlist/blocklist check to not be enforced for direct callers. This issue affects only custom extensions or downstream integrations that call install() directly with untrusted input and rely on this method to enforce package restrictions. The default JupyterLab HTTP API and UI are not affected as they perform their own awaited checks. The vulnerability is low severity and has been patched in JupyterLab versions 4.6.2 and 4.5.10.
References
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-whvh-wf3x-g77j (opens in a new tab)
- github.com/jupyterlab/jupyterlab/pull/19184 (opens in a new tab)
- github.com/jupyterlab/jupyterlab/pull/19185 (opens in a new tab)
- github.com/jupyterlab/jupyterlab/pull/19186 (opens in a new tab)
- github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c (opens in a new tab)
- github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432 (opens in a new tab)
- github.com/jupyterlab/jupyterlab (opens in a new tab)
- github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10 (opens in a new tab)
- github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2 (opens in a new tab)