Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver or compromise extension loaded by Electron app
-
DeliveryApp invokes session.loadExtension in session A
-
ExploitMalicious extension calls cross-session tab/scripting APIs
-
ExecutionEnumerate and access windows in isolated session B
-
PersistRead or script sensitive session B content
-
ImpactExfiltrate confidential data across session boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three specific conditions must all be true simultaneously for exploitation to be possible. First, the Electron application must explicitly call session.loadExtension to load a Chrome extension - applications that do not use extensions are entirely unaffected. Second, the application must use multiple distinct sessions as a deliberate security isolation mechanism; applications using only a single session are not affected regardless of extension use. Third, the loaded extension must be malicious or compromised - the CVSS PR:H rating confirms that the attacker must exercise control at the extension level, which the application has explicitly granted load authorization. The limiting factors are substantial: the flaw is inert in the vast majority of Electron deployments that either do not load extensions or do not rely on session separation as a trust boundary. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N - 6.6) accurately reflects the constrained but meaningful nature of this flaw. AC:H acknowledges that the attacker must operate within an Electron app specifically configured with multi-session isolation and extension loading - a non-default, intentional architectural choice. PR:H correctly captures that the attacker must control a loaded extension, representing substantial prior access. The Scope Change (S:C) and C:H combination is significant: once conditions are met, the attacker can fully read content from a session they were never supposed to access. No EPSS score was provided. No CISA KEV listing and no public POC exist in the provided data, indicating no confirmed widespread exploitation. Overall, this is a real security failure for affected architectures - developers using multi-session isolation as a trust boundary have been operating with a false assumption - but the real-world attack surface is limited to Electron apps deliberately using this specific pattern. |
| Exploit ScenarioDerived | An attacker supplies a malicious Chrome extension - either through a compromised extension update, a social engineering campaign, or by exploiting a separate extension-installation pathway - that is loaded by an Electron application using session.loadExtension with a multi-session architecture. Once the extension is active in its assigned session, it calls cross-session tab enumeration and scripting APIs to read sensitive data (credentials, session tokens, proprietary content) from windows running in an isolated session that the application developer believed was inaccessible to the extension. No public POC is available at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Session isolation bypass in Electron allows a malicious or compromised Chrome extension loaded into one session to cross session boundaries and access, navigate, and script windows belonging to a completely separate session. Affected are Electron applications prior to versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3 that invoke session.loadExtension and rely on multi-session architecture as a security boundary - a narrowly scoped but architecturally significant trust boundary violation. No public exploit code or CISA KEV listing exists at time of analysis; exploitation requires attacker control of an extension the application has explicitly loaded.
RemediationAI
Upgrade to Electron 39.8.8, 40.9.0, 41.2.1, or 42.0.0-beta.3 depending on the active release track, as confirmed by the official GitHub Security Advisory GHSA-m55f-7gqj-fr98. These versions correctly scope extension tab and scripting APIs to the extension's own session. If immediate upgrade is not feasible, the vendor-recommended workaround is to load extensions exclusively from fully trusted, verified sources and remove any architectural reliance on session separation alone as an extension containment boundary - note this does not patch the underlying API scoping flaw and should be treated as a temporary measure only. Applications that do not invoke session.loadExtension or that use a single session require no action. Advisory and package fix ranges are documented at https://github.com/electron/electron/security/advisories/GHSA-m55f-7gqj-fr98.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Electron wraps Chromium and Node.js to build cross-platform desktop applications distributed via the npm ecosystem (cpe:2.3:a:electron:electron:*:*:*:*:*:*:*:*). The framework exposes a session API that allows developers to create logically isolated browser sessions with independent storage, cookies, and extension contexts - a design used to sandbox untrusted or privileged content from one another. The root cause (CWE-284: Improper Access Control) is that Electron's extension tab and chrome.scripting APIs - which allow an extension to enumerate, navigate, and inject scripts into browser windows - were not scoped to the session that loaded the extension. Instead, these APIs could enumerate and operate on windows belonging to any session in the process, violating the intended session-level isolation boundary.
Know when Electron gets its next vulnerability
- 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
AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
PR:H because the attacker must control an extension the app has explicitly loaded; AC:H for the required multi-session architecture; S:C and C:H for cross-session confidentiality breach.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, extension tab and scripting APIs were not scoped to the extension's own session. A malicious or compromised extension loaded into one session could navigate, script, and read from windows belonging to a different session. Apps are only affected if they load Chrome extensions via session.loadExtension and rely on separate sessions to isolate that extension from other content. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the pro
Remote code execution in 5ire 0.15.2 and earlier arises because the desktop AI assistant renders Mermaid diagrams with s
Cross-site scripting in DeepChat's Mermaid diagram renderer escalates to full remote code execution on affected desktop
Remote code execution in DeepChat 0.5.1 and below is possible through a cross-site scripting flaw in Mermaid diagram ren
Stored cross-site scripting in SiYuan through 3.8.4 lets an attacker who can set a notebook name containing an HTML payl
GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. Rated hi
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindow
Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values
electron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r
Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fe
Native code execution outside the Chromium sandbox is achievable in Electron prior to 39.8.9, 40.9.2, 41.2.1, and 42.0.0
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Rated critical severity
EUVD-2026-53435
GHSA-m55f-7gqj-fr98
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB