Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2026-102832 — jupyterlab

MEDIUMFix: jupyterlab/jupyterlab@0fc18ab

CVE-2026-102832 is a medium-severity (CVSS 4.2) CWE-367 vulnerability in jupyterlab. A fix is available for jupyterlab — see the affected versions and patch details below.

JupyterLab: Command link trust prompt in JupyterLab can trust a document other than the one clicked

Also known asGHSA-jwrc-gm9j-263p
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Oct 24, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-102832.

EPSS Exploitation Probability

via FIRST.org ↗
0.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs3th percentile — riskier than 3% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2026-102832 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 394,803 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

4 pkgs affected
🐍jupyterlab🐍jupyterlab🐍notebook🐍jupyterlite-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

Description

A Markdown file or a notebook output can carry a button that runs a JupyterLab command. Since 4.5.7 the first click on such a button opens a prompt naming the command, with Cancel, Run Once and Trust. Choosing Trust runs the command and marks the document trusted, so its later buttons run without a prompt.

Which document gets marked is decided when the user answers, not when they click. Both trust commands read whichever document is current at that moment: markdownviewer:trust uses tracker.currentWidget, and notebook:trust uses the equivalent lookup. If another document becomes current while the prompt is open, that document is the one marked trusted, and the one the user was looking at stays untrusted.

Users are affected if all of the following are true:

  • they run JupyterLab 4.5.7 through 4.6.3, or an application that bundles it such as Notebook 7.5+;
  • they open a Markdown file or notebook from someone else and click a button in it;
  • they answer Trust rather than Cancel or Run Once; and
  • a second document becomes the current one while the prompt is open, for example through a workspace restoring at startup, an extension activating a widget, or a command that opens a file

Impact

The user loses control over which document they trusted. Every button in the document that was (incorrectly) marked as trusted runs from then on without a prompt, so if that document also came from an untrusted source, its buttons fire on a single click with no confirmation. That is the state the prompt was added to prevent, in GHSA-mqcg-5x36-vfcg.

The command that ran had the user's consent, because the prompt named it and they pressed Trust. The document they were reading stays untrusted, so it prompts again on the next click.

Notebooks are written to disk

When the document marked is a notebook, the effect outlives the browser session. notebook:trust marks every cell trusted and then saves the file, which results in the server signing it, so the notebook stays trusted when it is next opened. The save also writes out any unsaved edits in that notebook. A second confirmation appears first, but it says only that a trusted notebook may execute hidden code, without naming the file, so it does not show the user which notebook is about to be trusted.

A Markdown preview marked this way stays trusted only until it is closed. Nothing is written to disk.

Patches

JupyterLab v4.6.4 and v4.5.11 contain the patch. The trust request now carries the document that was clicked, and the command is run only once that same document has been marked.

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

Workarounds

Given the high complexity of a potential exploit, we advise treating this as a defense in-depth and update at earliest opportunity, rather than apply the workarounds listed below. However, for users running in highly sensitive environments who are unable to upgrade the workarounds are included below.

Turn off command linker, which removes the ability to execute frontend commands altogether:

{
  "@jupyterlab/apputils-extension:sanitizer": {
    "allowCommandLinker": false
  }
}

In such configuration the buttons in Markdown files and notebook outputs then do nothing when clicked. Documentation and extensions that use command links for navigation stop working, and the setting applies to every document, not only untrusted ones.

If disabling that setting is not desirable and update is not possible, advise users to choose "Run Once" rather than "Trust". "Run Once" makes the command run but no document is marked, so nothing can be trusted in error.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIjupyterlab≥ 4.6.0&&< 4.6.44.6.4pip install --upgrade 'jupyterlab==4.6.4'
🐍PyPIjupyterlab≥ 4.5.7&&< 4.5.114.5.11pip install --upgrade 'jupyterlab==4.5.11'
🐍PyPInotebook≥ 7.5.6&&< 7.6.37.6.3pip install --upgrade 'notebook==7.6.3'
🐍PyPIjupyterlite-core≥ 0.7.5&&< 0.8.40.8.4pip install --upgrade 'jupyterlite-core==0.8.4'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for jupyterlab, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update jupyterlab to 4.6.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-102832 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

A MODERATE severity vulnerability was found in JupyterLab, which is bundled in Red Hat OpenShift AI (RHOAI) workbench, notebook, and training container images. When a trust confirmation prompt is open, the markdownviewer:trust and notebook:trust command-link handlers resolve the document to trust from the currently…

Workaround published by Red Hat
Upstream documents the following workarounds for users unable to update immediately, while advising that this issue be treated as defense-in-depth and updated at the earliest opportunity: 1. Disable the command linker by setting "@jupyterlab/apputils-extension:sanitizer": {"allowCommandLinker": false} in the JupyterLab page settings. This removes the ability to execute frontend commands from Markdown files and notebook outputs altogether; buttons in those documents then do nothing when clicked, documentation and extensions that use command links for navigation stop working, and the setting applies to every document, not only untrusted ones. 2. If disabling the command linker is not…
Source: Red Hat security advisory for CVE-2026-102832 (CC BY 4.0)

Frequently Asked Questions

## Description A Markdown file or a notebook output can carry a button that runs a JupyterLab command. Since 4.5.7 the first click on such a button opens a prompt naming the command, with Cancel, Run Once and Trust. Choosing Trust runs the command and marks the document trusted, so its later buttons run without a prompt. Which document gets marked is decided when the user answers, not when they click. Both trust commands read whichever document is current at that moment: `markdownviewer:trust` uses `tracker.currentWidget`, and `notebook:trust` uses the equivalent lookup. If another document
O3 Security · Impact-Aware SCA

Is CVE-2026-102832 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2026-102832: jupyterlab — Fixed in 4.6.4