jupyterlab
Affected
- introduced
4.6.0, fixed4.6.2(ecosystem)
Fixed versions
4.6.2
Fix
- Fixed version
4.6.2pip install --upgrade jupyterlab==4.6.2
Advisory
Also known as: BIT-jupyterlab-2026-73417, CVE-2026-73417, PYSEC-2026-3672
JupyterLab: Cross-site scripting (XSS) via crafted settings file (overrides.json)
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
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.High Basis: The source's own band: HIGH
4.6.0, fixed 4.6.2 (ecosystem)4.6.2
4.6.2pip install --upgrade jupyterlab==4.6.23.3.0, fixed 4.5.10 (ecosystem)4.5.10
4.5.10pip install --upgrade jupyterlab==4.5.10Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0