Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 07/22/2026 (07/22/2026, 23:16:18 UTC)
Source: GCVE Database
Product: jupyterlab

Description

JupyterLab versions 3.3.0 through before 4.5.10 and 4.6.0 through before 4.6.2 contain a vulnerability where crafted settings files (overrides.json) can execute code when imported or automatically loaded. This cross-site scripting (XSS) flaw arises because certain notebook display settings are not properly validated, allowing embedded code execution with the user's privileges. Attackers with write access to shared settings directories can plant malicious files applied automatically, while users can also be tricked into importing malicious settings files. The vulnerability enables attackers to read, modify notebooks and files, and execute code on behalf of the user. Official patches are available in versions 4.5.10 and 4.6.2. No workarounds exist, but administrators should restrict write permissions on shared settings directories and establish trusted configuration distribution processes.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
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

Affected software

PyPIghsa
jupyterlab
Affected versions
>=4.6.0 <4.6.2
PyPIghsa
jupyterlab
Affected versions
>=3.3.0 <4.5.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 01:22:57 UTC

Technical Analysis

JupyterLab versions >=3.3.0 <4.5.10 and >=4.6.0 <4.6.2 allow cross-site scripting (XSS) via crafted overrides.json settings files. The vulnerability occurs because notebook display settings imported through the Settings Editor's Import button or loaded automatically from shared directories are not properly validated, enabling embedded code execution within JupyterLab. This can lead to arbitrary code execution with the affected user's privileges, including reading/modifying notebooks and running code on connected kernels. Attackers require either write access to shared settings directories (for automatic application without user action) or user interaction to import a malicious settings file. Patches fixing this issue were released in versions 4.5.10 and 4.6.2. Administrators are advised to restrict write permissions on configuration directories and implement trusted configuration distribution.

Potential Impact

Exploitation of this vulnerability allows an attacker to execute arbitrary code within the context of the affected user in JupyterLab. This includes reading and modifying the user's notebooks and files and running code on the user's behalf through the notebook server and any connected kernels. If an attacker has write access to shared settings directories, they can plant a malicious overrides.json file that is automatically applied without user interaction. Alternatively, a user can be tricked into importing a malicious settings file, leading to code execution. The impact is high due to the ability to run arbitrary code with user privileges and potentially compromise user data and environment.

Mitigation Recommendations

Official patches are available in JupyterLab versions 4.5.10 and 4.6.2; users should upgrade to these or later versions to remediate this vulnerability. There are no known workarounds. Administrators should restrict write permissions on application settings directories and other Jupyter configuration paths on multi-tenant or shared file systems to prevent unauthorized placement of malicious overrides.json files. It is recommended to establish a trusted process for distributing configuration files rather than relying on ad-hoc importing of shared settings files.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-pppj-hq3g-57pj
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a616bcb9c2644c7f80dbc2c

Added to database: 07/23/2026, 01:18:03 UTC

Last enriched: 07/23/2026, 01:22:57 UTC

Last updated: 07/23/2026, 02:02:09 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses