JupyterLab CVE-2026-73417
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft overrides.json with XSS payload in margin setting fields
-
DeliveryDeliver file to victim via sharing or plant on shared settings filesystem
-
ExploitVictim imports via Settings Editor or JupyterLab auto-applies at startup
-
ExecutionUnsanitized margin value injected into browser CSS style content
-
PersistJavaScript executes in victim's JupyterLab session
-
ImpactRead or modify notebooks, exfiltrate files, and execute commands via connected kernel
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Primary vector (PR:N, UI:A): The victim must actively import a crafted overrides.json file via the Import button in JupyterLab's Settings Editor. The payload must be present in the sideBySideLeftMarginOverride or sideBySideRightMarginOverride fields of the notebook extension settings within that file. No authentication, special extension, or non-default configuration is required from the victim beyond having an affected JupyterLab version running. Secondary vector (PR:H, no UI): An attacker must have write access to a directory from which JupyterLab loads settings automatically at startup (e.g., a shared or multi-tenant filesystem); JupyterLab then applies the planted overrides.json without any victim action at next startup. Exploitation is bounded to JupyterLab versions 3.3.0 through 4.5.9 and 4.6.0 through 4.6.1. What limits exploitation: the primary path requires deliberate victim action (file import); the auto-apply path requires write access to the settings directory, which is a privileged position on well-configured systems. Patched versions 4.5.10 and 4.6.2 are not affected. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L is internally consistent with the two described attack paths. PR:N and UI:A apply to the primary import-based vector, where no attacker privileges are required but the victim must actively import the file - a low-friction social engineering scenario given that importing settings files appears routine and harmless. The secondary auto-apply vector involves an attacker with write access to a shared settings directory, which effectively maps to PR:H and no user interaction; the CVSS 4.0 vector captures the lower-friction path. EPSS data is absent from provided intelligence and the vulnerability is not in CISA KEV, meaning no confirmed active exploitation. No public POC has been identified at time of analysis. Despite these signals, the risk is not theoretical: delivery via a shared 'display preferences file' is a credible social engineering lure, and JupyterHub multi-tenant deployments with permissive settings-directory permissions face fully automated exploitation. The high C and I impacts are grounded - XSS in this context provides effective arbitrary code execution on the kernel, not merely cookie theft. The VA:L and SA:L indicate limited availability impact, which is consistent with the description. No conflicting signals detected between the CVSS vector and the narrative description. |
| Exploit ScenarioDerived | An attacker crafts a malicious overrides.json embedding a JavaScript payload in the sideBySideLeftMarginOverride or sideBySideRightMarginOverride setting values and delivers it to a target JupyterLab user framed as a benign display-preferences file via email, chat, or a shared repository. When the victim imports it through the Settings Editor Import button, the unsanitized value is injected into CSS style content in the browser, executing the script in the victim's session where it silently reads and modifies notebooks, exfiltrates files, and runs arbitrary commands through the connected kernel under the victim's credentials. No public POC exists at time of analysis, though the attack requires no special tooling beyond a crafted JSON file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Cross-site scripting in JupyterLab 3.3.0 through 4.5.9 and 4.6.0 through 4.6.1 enables arbitrary code execution in a victim's browser session through a crafted overrides.json settings file. The sideBySideLeftMarginOverride and sideBySideRightMarginOverride notebook extension settings are inserted unsanitized into CSS style content, allowing a payload to execute with full JupyterLab API access - enabling notebook reads/writes and arbitrary kernel command execution under the victim's credentials. No public exploit has been identified at time of analysis and the vulnerability is not in CISA KEV, but the CVSS 4.0 score of 8.6 with high confidentiality and integrity impact reflects meaningful real-world risk, particularly in multi-user JupyterHub deployments.
RemediationAI
Upgrade to JupyterLab 4.5.10 or 4.6.2 immediately; both are vendor-released patches confirmed by GitHub security advisory GHSA-pppj-hq3g-57pj and the corresponding release tags at https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10 and https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2, with fix commits in PRs https://github.com/jupyterlab/jupyterlab/pull/19184 and https://github.com/jupyterlab/jupyterlab/pull/19185. No official technical workaround exists per the GHSA advisory. As compensating controls: on multi-tenant or shared filesystems, restrict write permissions on all Jupyter application settings directories so that no user can place an overrides.json readable by another user - this blocks the auto-apply vector entirely; the trade-off is administrative overhead in managing settings distribution. Establish a reviewed, trusted distribution channel for JupyterLab configuration files rather than permitting ad-hoc imports from untrusted parties; while not a technical control, this reduces the social-engineering import vector. User-facing guidance should clarify that importing a settings file can affect JupyterLab behavior beyond display preferences.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JupyterLab is a web-based interactive development environment built on the Jupyter Notebook Architecture. The vulnerability resides in the notebook extension at packages/notebook-extension/schema/tracker.json and packages/notebook-extension/src/index.ts. The sideBySideLeftMarginOverride and sideBySideRightMarginOverride settings - intended to control CSS display margins for side-by-side notebook view - are inserted directly into style attributes or style block content without sanitization, constituting a CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw. JupyterLab supports two settings-ingestion paths that both trigger the flaw: explicit user import via the Import button in the Settings Editor, and automatic loading of overrides.json from configured settings directories at startup. Because JupyterLab runs as a browser-hosted web application, XSS payloads execute with full access to the JupyterLab JavaScript API, the notebook server's REST endpoints, and any connected Jupyter kernels. Affected pip package jupyterlab covers versions 3.3.0 through 4.5.9 and 4.6.0 through 4.6.1.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:L
Primary import vector needs no attacker privileges (PR:N) but requires victim to import file (UI:R); C:H/I:H reflects full notebook, file, and kernel access.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 3.3.0 until 4.5.10 and 4.6.2, JupyterLab allows notebook settings to be shared and applied through an overrides.json file using the Import button in the Settings Editor. In packages/notebook-extension/schema/tracker.json and packages/notebook-extension/src/index.ts, the sideBySideLeftMarginOverride and sideBySideRightMarginOverride settings are not properly validated before being inserted into style content, allowing a crafted settings file to contain instructions that execute as code instead of only changing display preferences. A user can import the malicious file, or an attacker with access to a shared settings location can plant an overrides.json that is applied automatically. The embedded code runs with the affected user's access and can read or modify notebooks and files and run code through the notebook server, including on a connected kernel. This issue is fixed in versions 4.5.10 and 4.6.2.
Blast Radius
ecosystem impact- 5 pypi packages depend on jupyterlab (2 direct, 3 indirect)
Ecosystem-wide dependent count for version 4.6.0.
Executive ViewAI
JupyterLab versions 3.3.0-4.6.1 contain a cross-site scripting (XSS) vulnerability that enables arbitrary code execution within user browser sessions through malicious settings files. In multi-user JupyterHub environments, an attacker could execute code with victim privileges, potentially exfiltrating notebook data or running kernel commands. The CVSS 8.6 severity reflects high confidentiality and integrity risk to data scientists and researchers whose notebooks contain sensitive analysis or credentials.
No vendor-released patch identified at time of analysis. No public exploit identified at time of analysis. Interim mitigations: (1) Restrict write access to overrides.json and JupyterLab configuration directories to authorized administrators only; (2) Disable or remove community extensions and custom settings if not actively managed; (3) In JupyterHub multi-user deployments, implement strict role-based access controls and monitor for suspicious configuration changes; (4) Enable browser-level security policies (Content Security Policy headers) where feasible; (5) Conduct weekly file-integrity checks on configuration directories and review JupyterLab access logs for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
GHSA-pppj-hq3g-57pj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB