Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

JupyterLab: Allowlist/blocklist check in `PyPIExtensionManager.install()` not enforced for direct callers (missing `await`)

0
Low
Published: 07/22/2026 (07/22/2026, 23:12:22 UTC)
Source: GCVE Database
Product: jupyterlab

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.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:N

Affected software

PyPIghsa
jupyterlab
Affected versions
>=4.6.0 <4.6.2
PyPIghsa
jupyterlab
Affected versions
<4.5.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 01:23:54 UTC

Technical Analysis

The vulnerability arises from a missing await on the coroutine is_install_allowed within the PyPIExtensionManager.install() method in JupyterLab. This omission means that the allowlist/blocklist check intended to restrict package installations is not enforced when install() is called directly by custom extensions or integrations. The stock JupyterLab HTTP API and Extension Manager UI are unaffected because they perform their own awaited allowlist/blocklist checks before invoking install(). The issue impacts deployments that enable the PyPI Extension Manager, disable kernels and terminals, and rely on direct calls to install() with untrusted input. The flaw was fixed in JupyterLab versions 4.6.2 and 4.5.10.

Potential Impact

There is no exposure for standard JupyterLab users because the HTTP API and UI enforce allowlist/blocklist restrictions correctly. The vulnerability only affects custom extensions or downstream integrations that call the install() method directly and rely on it to enforce package restrictions. This could allow installation of unauthorized packages if untrusted input is passed to install(). The overall impact is low.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-whvh-wf3x-g77j
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
LOW
Cvss Version
3.1

Threat ID: 6a616bcd9c2644c7f80dbd76

Added to database: 07/23/2026, 01:18:05 UTC

Last enriched: 07/23/2026, 01:23:54 UTC

Last updated: 07/23/2026, 02:04:03 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses