Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Electron app using ProtocolResponse.url without explicit session
-
DeliveryTrigger custom protocol handler to fetch resource via defaultSession
-
ExploitResponse cached in defaultSession
-
ExecutionInduce victim interaction to invoke isolated-session protocol handler
-
PersistdefaultSession cache reused across partition boundary
-
ImpactRead confidential session-scoped cached content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three simultaneous application-level conditions confirmed by the vendor advisory: (1) the Electron application must register a custom protocol handler that returns a ProtocolResponse containing a |
| Impact | The CVSS 3.1 score of 5.9 (Medium) is well-calibrated: AV:N indicates the triggering pathway can involve network-fetched resources, but AC:H reflects that exploitation requires both a specific application architecture and a cache-hit timing alignment across session partitions - not a trivially repeatable condition. UI:R further constrains the attack surface to scenarios where victim interaction is required. There is no CISA KEV listing confirming active exploitation, and no public proof-of-concept has been identified in the provided intelligence. EPSS data was not supplied, limiting probabilistic exploitation estimate. The real-world risk is highly conditional: only Electron apps that simultaneously use ProtocolResponse.url, omit ProtocolResponse.session, and rely on session partition isolation for a security guarantee are actually exposed. Apps explicitly setting ProtocolResponse.session, or not employing session partitions for security, are entirely unaffected per the vendor advisory. Despite the moderate CVSS, the C:H impact is meaningful for affected apps - full disclosure of session-scoped cached data (potentially authenticated API responses, cookies, or sensitive content) across tenant or user boundaries is a serious breach of the application's intended isolation model. |
| Exploit ScenarioDerived | An attacker targeting a multi-tenant Electron desktop application that isolates tenant data across separate session partitions could register or influence a custom protocol handler that returns a ProtocolResponse.url without an explicit session. By inducing a victim user to interact with the application in a way that triggers a cross-session protocol response, the attacker could cause a response cached in defaultSession to be served into an isolated partition - exposing cached authenticated API responses, cookies, or sensitive content belonging to another session. No public proof-of-concept has been identified, and the high attack complexity (AC:H) and required user interaction (UI:R) mean this is not a trivially automated attack. |
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's custom protocol handler allows cached HTTP responses from defaultSession to leak across otherwise isolated session partitions. Electron versions 40.x through pre-release 43.x are affected when apps use ProtocolResponse.url without specifying ProtocolResponse.session, causing upstream requests to be routed through defaultSession regardless of which session registered the protocol handler. An attacker who can trigger a cross-session cache hit may read confidential session-scoped content (C:H) or partially influence cached responses (I:L) intended for a different, isolated session; no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
Upgrade Electron to a patched release: 40.10.6 (for 40.x deployments), 41.9.1 (for 41.x), 42.5.1 (for 42.x), or 43.0.0 (for 43.x pre-release). Full details are in the vendor advisory at https://github.com/electron/electron/security/advisories/GHSA-r4w5-6pfg-jxp5. If an immediate upgrade is not feasible, the vendor-documented workaround is to explicitly set the session field on every ProtocolResponse object returned by custom protocol handlers, ensuring the upstream request is routed through the correct session rather than defaultSession. This workaround is low-risk and backward-compatible but requires a targeted code audit of all custom protocol handler registrations in the application; omitting even one handler leaves the isolation bypass intact for that handler. Security contact for questions: security@electronjs.org.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 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 (npm package electron, CPE cpe:2.3:a:electron:electron:*:*:*:*:*:*:*:*) is a cross-platform desktop application framework built on Chromium and Node.js. The vulnerability resides in the custom protocol handler subsystem: when a handler returns a ProtocolResponse with a url redirect but omits the optional session field, Electron silently falls back to defaultSession for the upstream network request rather than using the session that originally registered the handler. Because HTTP responses are cached at the session level, a response fetched via defaultSession can be served from cache into a completely different, otherwise isolated session partition. CWE-668 (Exposure of Resource to Wrong Sphere) precisely describes this root cause - a resource (the cached response) is accessible in a security sphere (another session partition) where it should not be. Electron's session partition model is commonly used to enforce security boundaries between tenants, users, or privilege levels in desktop apps, making this bypass potentially significant in architecturally session-dependent applications.
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:N/UI:R/S:U/C:H/I:L/A:N
Network vector applies as the protocol handler processes network-fetched URLs; AC:H because cross-session cache reuse requires specific app architecture and timing; PR:N since no attacker authentication is needed; C:H because full session-scoped cached content can be disclosed across partition boundaries.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 40.10.6, 41.9.1, 42.5.1, and 43.0.0, when a custom protocol handler returned a ProtocolResponse with a url and no session, Electron made the upstream request through defaultSession instead of the session that handled the protocol. A cached response could then be reused across otherwise isolated session partitions. Apps that use ProtocolResponse.url, omit ProtocolResponse.session, and rely on separate sessions to isolate content are affected. This issue is fixed in versions 40.10.6, 41.9.1, 42.5.1, and 43.0.0.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-53445
GHSA-r4w5-6pfg-jxp5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB