Skip to main content

Electron CVE-2026-70606

| EUVDEUVD-2026-53445 MEDIUM
Exposure of Resource to Wrong Sphere (CWE-668)
2026-08-05 GitHub_M GHSA-r4w5-6pfg-jxp5
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Electron app using ProtocolResponse.url without explicit session
  2. Delivery
    Trigger custom protocol handler to fetch resource via defaultSession
  3. Exploit
    Response cached in defaultSession
  4. Execution
    Induce victim interaction to invoke isolated-session protocol handler
  5. Persist
    defaultSession cache reused across partition boundary
  6. Impact
    Read 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 url field; (2) that ProtocolResponse must omit the session field, either by design or developer oversight; and (3) the application must rely on Electron session partitions to enforce a security isolation boundary between content, users, or tenants. The CVSS vector additionally imposes AC:H (specific cache-hit timing alignment across sessions required) and UI:R (victim must interact with the application to trigger the protocol response). What limits exploitation: applications that explicitly set ProtocolResponse.session are fully protected; applications that do not use session partitions for security boundaries are not affected; and the AC:H requirement means exploitation cannot be blindly automated. There is no requirement for network adjacency or physical access beyond triggering the protocol handler through the Electron application's rendering context.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

electron 42.0.0-alpha.1, < 42.5.1
electron 40.0.0-alpha.1, < 40.10.6
electron 41.0.0-alpha.1, < 41.9.1
electron 43.0.0-alpha.1, < 43.0.0

Affected Packages

npm electron fix: 40.10.6, 41.9.1, 42.5.1, 43.0.0
euvd electron_40_0_0_alpha_1 fix: 40.10.6
euvd electron_41_0_0_alpha_1 fix: 41.9.1
euvd electron_42_0_0_alpha_1 fix: 42.5.1
euvd electron_43_0_0_alpha_1 fix: 43.0.0

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

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 05, 2026 - 17:02 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular cross-platform desktop framework, broad but not universally deployed
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2018-1000006 HIGH POC
8.8 Jan 24

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

CVE-2025-68669 CRITICAL POC
9.6 Dec 23

Remote code execution in 5ire 0.15.2 and earlier arises because the desktop AI assistant renders Mermaid diagrams with s

CVE-2025-67744 CRITICAL POC
9.6 Dec 16

Cross-site scripting in DeepChat's Mermaid diagram renderer escalates to full remote code execution on affected desktop

CVE-2025-66481 CRITICAL POC
9.6 Dec 09

Remote code execution in DeepChat 0.5.1 and below is possible through a cross-site scripting flaw in Mermaid diagram ren

CVE-2026-93922 HIGH POC
8.6 Sep 18

Stored cross-site scripting in SiYuan through 3.8.4 lets an attacker who can set a notebook name containing an HTML payl

CVE-2017-12581 HIGH POC
8.1 Aug 06

GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. Rated hi

CVE-2018-15685 HIGH POC
8.1 Aug 23

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

CVE-2018-1000136 HIGH POC
8.1 Mar 23

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

CVE-2024-39698 HIGH POC
7.5 Jul 09

electron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r

CVE-2026-70604 HIGH POC
7.4 Aug 05

Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fe

CVE-2026-70611 MEDIUM POC
6.9 Aug 05

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

CVE-2020-4077 CRITICAL
9.9 Jul 07

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy