JupyterLab's Settings Editor lets users import a shared overrides.json to apply notebook preferences, but versions 4.6.0-4.6.1 (and pre-4.5.10 builds) fail to validate certain display settings before applying them, letting a crafted file smuggle in code that executes with the importing user's privileges instead of merely changing a preference. With no CVSS score or EPSS data published yet, no public exploit or PoC, and no Nuclei template in circulation, near-term mass exploitation is unlikely, but the vendor rates it high severity because a single import of an 'innocent' settings file - the kind of thing a colleague might casually share - hands an attacker read/write access to the victim's notebooks, files, and connected kernels; on multi-tenant JupyterHub-style deployments, a low-privileged co-tenant could even plant the file where it auto-applies with no user action at all. Given JupyterLab's footprint (1,876 downstream dependents) and its role as a primary IDE for AI/ML development, this is a credible pivot point into data science environments holding proprietary models, datasets, and credentials. Upgrade to JupyterLab 4.6.2 or 4.5.10 immediately - there is no workaround - and until patched, treat settings-import as untrusted input, restrict write permissions on shared settings directories in multi-tenant deployments, and avoid ad-hoc sharing of overrides.json outside a vetted distribution process.
What is the risk?
Rated high severity by the vendor despite the absence of a published CVSS score, EPSS percentile, or KEV listing, and no public exploit code or scanner template exists yet - so opportunistic mass exploitation is currently unlikely. The exploitability trade-off is bimodal: one path requires a deliberate but low-friction user action (clicking Import on a file that looks like a harmless preferences export), while the other requires an attacker to already have write access to a shared settings directory but then needs zero victim interaction, firing automatically at startup. Impact is severe once triggered - arbitrary code execution with the victim's privileges, extending to any connected Jupyter kernel - which is why this warrants prompt patching even without exploitation telemetry. JupyterLab's broad install base (1,876 downstream dependents, 33 other CVEs historically in the package, OpenSSF Scorecard 5.8/10) means the exposure surface across AI/ML organizations is significant.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Jupyter | pip | >= 4.6.0, <= 4.6.1 | 4.6.2 |
Do you use Jupyter? You're affected.
How severe is it?
What should I do?
1 step-
Patch to JupyterLab 4.6.2 or 4.5.10 immediately - no workaround exists per the advisory. Until patched, treat any overrides.json or settings-export file as untrusted code, not a benign preferences file, and avoid importing settings received via email, chat, or shared drives from outside a vetted distribution process. On multi-tenant or shared filesystems, audit and lock down write permissions on the application settings directory and other Jupyter configuration paths so one user cannot plant a file that is auto-applied to another user at startup. For detection, monitor for unexpected child processes, network connections, or file access originating from the JupyterLab server process shortly after a settings-import event, and review recent overrides.json changes in shared settings locations for unauthorized modifications.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-pppj-hq3g-57pj?
JupyterLab's Settings Editor lets users import a shared overrides.json to apply notebook preferences, but versions 4.6.0-4.6.1 (and pre-4.5.10 builds) fail to validate certain display settings before applying them, letting a crafted file smuggle in code that executes with the importing user's privileges instead of merely changing a preference. With no CVSS score or EPSS data published yet, no public exploit or PoC, and no Nuclei template in circulation, near-term mass exploitation is unlikely, but the vendor rates it high severity because a single import of an 'innocent' settings file - the kind of thing a colleague might casually share - hands an attacker read/write access to the victim's notebooks, files, and connected kernels; on multi-tenant JupyterHub-style deployments, a low-privileged co-tenant could even plant the file where it auto-applies with no user action at all. Given JupyterLab's footprint (1,876 downstream dependents) and its role as a primary IDE for AI/ML development, this is a credible pivot point into data science environments holding proprietary models, datasets, and credentials. Upgrade to JupyterLab 4.6.2 or 4.5.10 immediately - there is no workaround - and until patched, treat settings-import as untrusted input, restrict write permissions on shared settings directories in multi-tenant deployments, and avoid ad-hoc sharing of overrides.json outside a vetted distribution process.
Is GHSA-pppj-hq3g-57pj actively exploited?
No confirmed active exploitation of GHSA-pppj-hq3g-57pj has been reported, but organizations should still patch proactively.
How to fix GHSA-pppj-hq3g-57pj?
Patch to JupyterLab 4.6.2 or 4.5.10 immediately - no workaround exists per the advisory. Until patched, treat any overrides.json or settings-export file as untrusted code, not a benign preferences file, and avoid importing settings received via email, chat, or shared drives from outside a vetted distribution process. On multi-tenant or shared filesystems, audit and lock down write permissions on the application settings directory and other Jupyter configuration paths so one user cannot plant a file that is auto-applied to another user at startup. For detection, monitor for unexpected child processes, network connections, or file access originating from the JupyterLab server process shortly after a settings-import event, and review recent overrides.json changes in shared settings locations for unauthorized modifications.
What systems are affected by GHSA-pppj-hq3g-57pj?
This vulnerability affects the following AI/ML architecture patterns: training pipelines, model development environments, multi-tenant research platforms.
What is the CVSS score for GHSA-pppj-hq3g-57pj?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0011 User Execution AML.T0037 Data from Local System AML.T0050 Command and Scripting Interpreter Compliance Controls Affected
What are the technical details?
Original Advisory
JupyterLab 4.5+ allows notebook settings to be shared and applied through an `overrides.json` file using the `Import` button in the Settings Editor. Certain notebook display settings were not properly validated before being applied. As a result, a crafted settings file could contain hidden instructions that run as code inside JupyterLab when imported, instead of only changing a display preference. Because importing a settings file appears harmless, a user could import a file shared by another party without realizing it could do more. On multi-tenant file systems without proper permission control, another user could plant a malicious `overrides.json`. > CVE assignment pending, GitHub CNA is experiencing severe backlog ### Impact When a malicious settings file is applied, the embedded code runs with the same access as the affected user. This could allow an attacker to read or modify that user's notebooks and files, and to run code on the user's behalf through the notebook server, including on any connected kernel. #### User Interaction vs Privileges Required ##### Write access to a loaded settings location If an attacker can write to a directory JupyterLab loads settings from (e.g. on shared or multi-tenant file system), they could place a crafted `overrides.json` that is applied to another user automatically at startup. This requires high privilages but no action by the victim. ##### User-imported settings file A user can import a crafted `overrides.json` through the `Import` button in the Settings Editor, having received it from another party. This requires no privileges but a deliberate action by the victim, who reasonably expects a settings file to change preferences rather than run code. ### Patches JupyterLab 4.6.2 and 4.5.10 were patched. ### Workarounds None ### Hardening 1. Treat a settings file as something that can affect how JupyterLab behaves, not only how it appears. Administrators are encouraged to establish a trusted process for distributing configuration rather than relying on ad-hoc importing of shared files. 2. On multi-tenant or shared file systems, restrict write permissions on the application settings directory and other Jupyter configuration paths so that one user cannot place an `overrides.json` (or other configuration) readable by another user. A settings file in these locations is applied automatically, without an import step, so directory permissions are the primary control against cross-user tampering.
Exploitation Scenario
An attacker crafts a overrides.json disguised as a team 'dark theme' or 'standard settings pack' and shares it via email or a team chat channel. A data scientist, expecting only a cosmetic change, imports it through the Settings Editor's Import button; the embedded code executes with the user's privileges, giving the attacker the ability to read notebooks containing proprietary model code and API keys, modify files, or issue commands to any connected kernel - for example exfiltrating training data or planting a backdoor in a training script. In the multi-tenant variant, an attacker with a low-privileged account on a shared JupyterHub server writes the crafted overrides.json to a settings path loaded automatically for other tenants, achieving silent code execution against every user who next starts their environment, with no click required.
Weaknesses (CWE)
CWE-116 Improper Encoding or Escaping of Output
Primary
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Primary
CWE-116 — Improper Encoding or Escaping of Output: The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
- [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using the ESAPI Encoding control [REF-45] or a similar tool, library, or framework. These will help the programmer encode outputs in a manner less prone to error. Alternately, use built-in functions, but consider using wrappers in case those functions are discovered to have a vulnerability.
- [Architecture and Design] If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated. For example, stored procedures can enforce database query structure and reduce the likelihood of SQL injection.
Source: MITRE CWE corpus.
References
- github.com/advisories/GHSA-pppj-hq3g-57pj
- github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c
- github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432
- github.com/jupyterlab/jupyterlab/pull/19184
- github.com/jupyterlab/jupyterlab/pull/19185
- github.com/jupyterlab/jupyterlab/pull/19186
- github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10
- github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-pppj-hq3g-57pj
Timeline
Related Vulnerabilities
CVE-2023-25574 10.0 JupyterHub LTI13: JWT forgery enables full auth bypass
Same package: jupyter CVE-2026-44180 9.8 Jupyter Enterprise Gateway: root privilege bypass in Kubernetes
Same package: jupyter CVE-2026-23537 9.1 Feast: unauth file write to RCE via /save-document
Same package: jupyter CVE-2026-54527 9.0 jupyterlab-git: stored XSS escalates to full RCE
Same package: jupyter CVE-2026-44727 9.0 jupyter-server: stored XSS yields kernel RCE
Same package: jupyter