CVE-2026-73417
JSON

8.6high

JupyterLab: Cross-site scripting (XSS) via crafted settings file (`overrides.json`)

Severity
8.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pppj-hq3g-57pjBIT-JUPYTERLAB-2026-73417PYSEC-2026-3672

Description

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.

Affected

Product or packageVersionsReported by
jupyterlab jupyterlab>= 3.3.0, < 4.5.10, >= 4.6.0, < 4.6.2CVE List
jupyterlab (PyPI)from 4.6.0 before 4.6.2, from 3.3.0 before 4.5.10GitHub Advisory Database, PyPA Advisory Database
jupyterlab (Bitnami)from 3.3.0 before 4.5.10, from 4.6.0 before 4.6.2Bitnami Vulnerability Database

All scores

GitHub_M8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-pppj-hq3g-57pjweb
https://github.com/jupyterlab/jupyterlab/pull/19184web
https://github.com/jupyterlab/jupyterlab/pull/19185web
https://github.com/jupyterlab/jupyterlab/pull/19186web
https://github.com/jupyterlab/jupyterlab/commit/9365f020baec5221deaf11535ed554c06637c999web
https://github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2cweb
https://github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432web
https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10web
https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2web
https://github.com/jupyterlab/jupyterlab/releases/tag/v4.7.0a1web
https://github.com/jupyterlab/jupyterlabpackage
https://pypi.org/project/jupyterlabpackage

Sources

SourceRecordLicence
CVE ListCVE-2026-73417 changed 2026-08-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-pppj-hq3g-57pj changed 2026-09-10CC-BY-4.0
NVDCVE-2026-73417 changed 2026-09-18Public domain
PyPA Advisory DatabasePYSEC-2026-3672 changed 2026-08-19CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-JUPYTERLAB-2026-73417 changed 2026-08-19Apache-2.0