Skip to main content

JupyterLab CVE-2026-73417

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-13 security-advisories@github.com GHSA-pppj-hq3g-57pj
8.6
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft overrides.json with XSS payload in margin setting fields
  2. Delivery
    Deliver file to victim via sharing or plant on shared settings filesystem
  3. Exploit
    Victim imports via Settings Editor or JupyterLab auto-applies at startup
  4. Execution
    Unsanitized margin value injected into browser CSS style content
  5. Persist
    JavaScript executes in victim's JupyterLab session
  6. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi jupyterlab fix: 4.5.10, 4.6.2

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

Vendor (github) PRIMARY 8.6 HIGH
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
vuln.today AI 8.3 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:L
SUSE MEDIUM
Red Hat 8.3 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
Low

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 pypi packages depend on jupyterlab (2 direct, 3 indirect)

Ecosystem-wide dependent count for version 4.6.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 57% exploitable
Prevalence
Medium
widely used in data science, ML, and academic research environments
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy