Description
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.5.7 until 4.5.11 and 4.6.4, the markdownviewer:trust and notebook:trust command-link handlers use tracker.currentWidget to resolve the current Markdown viewer or notebook when the user answers rather than retaining the document whose command button was clicked. If another document becomes current while the prompt is open and the user chooses Trust, JupyterLab marks the second document trusted while leaving the clicked document untrusted. Later command buttons in the incorrectly trusted document run without a prompt, and trusting a notebook marks all cells trusted, saves unsaved edits, and persists the server signature to disk. Applications that bundle JupyterLab, including affected Notebook and JupyterLite releases, inherit the behavior. This issue is fixed in versions 4.5.11 and 4.6.4.
Published: 2026-10-13
Score: 4.2 Medium
EPSS: n/a
KEV: No
Impact: Accidental Trust of Malicious Content
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises because the trust command link handlers for markdownviewer and notebooks rely on the current active widget when a user answers the trust prompt, instead of the widget that originally triggered the prompt. If a different document becomes active while the prompt remains open, showing the trusted state for this new document incorrectly. Consequently, any later actions in the mistakenly trusted document—such as executing code cells—occur without another prompt. Trusting a notebook also writes any unsaved edits to disk and persists the Jupyter server signature, potentially allowing malicious persistence and execution. This flaw can unintentionally grant a user, or an attacker who can influence the trusted prompt, the ability to run arbitrary code from an untrusted document, weakening confidentiality, integrity, and availability of the system.

Affected Systems

Affected products include JupyterLab (versions 4.5.7 through 4.5.11 and 4.6.4), JupyterLite Core, and Jupyter Notebook releases that bundle JupyterLab. Any application embedding these components inherits the same behavior until the vulnerability is patched in version 4.5.11 or 4.6.4.

Risk and Exploitability

The CVSS score of 4.2 reflects a low severity evaluation, and no EPSS score is available. The flaw is not listed in the CISA KEV catalog, indicating it is not a widely exploited vulnerability at present. The likely attack vector is local or in‑situ user interaction, wherein a malicious document or colluding user can cause the prompt to trust an unintended notebook, thereby executing code without additional authorization. While the immediate impact is limited to the user currently interacting with JupyterLab, the inadvertent persistence of trusted state and potential code execution present a moderate risk if the environment is used for sensitive analysis.

Generated by OpenCVE AI on October 13, 2026 at 16:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to JupyterLab version 4.5.11 or later, which includes the fix for the trust prompt handler.
  • Avoid trusting documents that have not been manually verified; only accept the trust prompt for known, trusted notebooks or markdown files.
  • Ensure that the JupyterLab environment is used only by users who understand the trust model, and consider disabling the trust link commands through configuration or role‑based access controls.

Generated by OpenCVE AI on October 13, 2026 at 16:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.5.7 until 4.5.11 and 4.6.4, the markdownviewer:trust and notebook:trust command-link handlers use tracker.currentWidget to resolve the current Markdown viewer or notebook when the user answers rather than retaining the document whose command button was clicked. If another document becomes current while the prompt is open and the user chooses Trust, JupyterLab marks the second document trusted while leaving the clicked document untrusted. Later command buttons in the incorrectly trusted document run without a prompt, and trusting a notebook marks all cells trusted, saves unsaved edits, and persists the server signature to disk. Applications that bundle JupyterLab, including affected Notebook and JupyterLite releases, inherit the behavior. This issue is fixed in versions 4.5.11 and 4.6.4.
Title JupyterLab: Command link trust prompt in JupyterLab can trust a document other than the one clicked
Weaknesses CWE-367
CWE-863
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T16:09:02.990Z

Reserved: 2026-09-29T17:25:25.266Z

Link: CVE-2026-102832

cve-icon Vulnrichment

Updated: 2026-10-13T16:08:58.810Z

cve-icon NVD

Status : Received

Published: 2026-10-13T16:17:09.970

Modified: 2026-10-13T17:17:14.570

Link: CVE-2026-102832

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T16:45:19Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-863

    Incorrect Authorization