Skip to main content

Electron CVE-2026-102676

| EUVDEUVD-2026-89095 CRITICAL
Improper Privilege Management (CWE-269)
2026-09-29 GitHub_M GHSA-9qh4-3jw8-366w
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Load untrusted content into <webview> guest
  2. Delivery
    Set nodeIntegrationInWorker in guest webpreferences
  3. Exploit
    Spawn Node-enabled Web Worker
  4. Execution
    Access require() beyond embedder grant
  5. Impact
    Execute arbitrary code on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific, non-default Electron deployment: the application must (1) enable the <webview> tag, (2) run the embedder UNSANDBOXED (sandbox:false) with Node integration disabled, and (3) load untrusted or attacker-controllable content into the guest. Given those, the guest sets 'nodeIntegrationInWorker' (e.g. via the webpreferences attribute) to spawn a Node-capable Web Worker. Limiting factors that reduce real-world exposure: apps that never enable <webview>, apps that keep the embedder sandboxed, or apps that only load trusted first-party content are NOT affected. Workarounds confirmed by the vendor: strip nodeIntegrationInWorker from guest preferences in a 'will-attach-webview' handler, or avoid the <webview> tag for untrusted content.

Impact

Signals conflict sharply here. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) and 9.8 score portray a trivially remotely exploitable, unauthenticated flaw, but the description and GHSA advisory impose hard preconditions that CVSS does not capture: the application must enable the <webview> tag AND run an unsandboxed embedder AND load untrusted guest content. CISA SSVC rates Exploitation as 'none' and Automatable as 'no', while Technical Impact is 'total' (Node.js worker = arbitrary code execution). EPSS is low (0.45%, 37th percentile), there is no CISA KEV listing, and no public exploit was identified - only vendor regression-test code ships in the patch. The honest read: this is a genuinely high-impact privilege-escalation bug (CWE-269) but NOT a widespread drive-by threat. The 9.8 overstates real-world urgency because it ignores the non-default configuration requirement; SSVC's 'none/no/total' is more representative. Priority should be HIGH for the subset of Electron apps that use <webview> with an unsandboxed embedder and render untrusted content, and LOW for everyone else. Note explicitly: CVSS says AC:L/PR:N, but exploitation depends on an operator-chosen, non-default embedder configuration - verify your app's webPreferences before deprioritizing or prioritizing.

Exploit ScenarioDerived

An Electron app enables the <webview> tag with an unsandboxed embedder (nodeIntegration disabled) and loads attacker-controlled or compromised web content into the guest. The malicious guest page sets nodeIntegrationInWorker via its webpreferences and spawns a Web Worker that gains Node.js 'require', escalating beyond the privilege the embedder intended and achieving host-level code execution. No public weaponized exploit exists, but the vendor advisory includes a proof-of-concept regression test demonstrating the worker obtaining Node access.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 15, 2026

Privilege escalation in the Electron framework lets a <webview> guest grant itself Node.js integration inside its Web Workers even when the embedding (embedder) application has Node integration turned off, so untrusted guest content can obtain a more privileged JavaScript execution context than the host application intended to allow. Affected releases are npm/electron before 41.10.6, 42.x before 42.9.2, 43.x before 43.4.1, and 44.0.0-alpha.x before 44.0.0-beta.5 (CPE cpe:2.3:a:electron:electron). Exploitation is not automatic: the independent assessment requires a non-default deployment where the app enables the <webview> tag, runs the embedder unsandboxed with nodeIntegration disabled, and loads attacker-controllable content into the guest - applications that never enable <webview>, keep the embedder sandboxed, or only load trusted first-party content are unaffected. There is no public exploit identified at time of analysis (CISA SSVC: Exploitation none, Automatable no, Technical Impact total) and EPSS is low at 0.45% (37th percentile), although the underlying privilege boundary is a total-compromise class issue where it applies; the NVD-style vector scores 9.8, while our independent assessment reflects the higher attack complexity and changed scope (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H) imposed by those preconditions.

Earlier versions of this analysis (1)
v1 Sep 29, 2026 - 17:39 CVSS 8.3

Privilege escalation in the Electron framework lets untrusted content loaded into a <webview> guest create a Node.js-enabled Web Worker even when the embedding application has Node integration disabled, granting the guest more privilege than the host application intended to delegate. Affected are Electron builds prior to 41.10.6, 42.9.2, 43.4.1 and 44.0.0-beta.5, but only applications that enable the <webview> tag, keep the embedder unsandboxed (sandbox:false) with Node integration off, and load untrusted or attacker-influenced content - apps that never use <webview> or keep the embedder sandboxed are unaffected. Exploitation requires the victim to trigger loading of malicious guest content (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H, 8.3 High), and no public exploit was identified at time of analysis.

RemediationAI

Upgrade to a fixed Electron release: vendor-released patch versions are 41.10.6, 42.9.2, 43.4.1 and 44.0.0-beta.5 - pick the highest fixed line your application supports and rebuild (release tags: https://github.com/electron/electron/releases/tag/v41.10.6, .../v42.9.2, .../v43.4.1, .../v44.0.0-beta.5; advisory: https://github.com/electron/electron/security/advisories/GHSA-9qh4-3jw8-366w). If you cannot upgrade immediately, the vendor-confirmed workaround is to strip nodeIntegrationInWorker from the guest preferences inside a will-attach-webview handler so the guest cannot re-enable Node in workers; the trade-off is that any legitimate guest code relying on Node inside Web Workers will stop working. Additional compensating controls: do not enable the <webview> tag at all when rendering untrusted or third-party content, and keep the embedder sandboxed (sandbox: true) with contextIsolation enabled - this fully closes the reported path because a sandboxed embedder cannot propagate Node/WWorker privileges, but it may break application code that depends on Node APIs in renderer or preload logic, so test before enabling in production. Because the vulnerable configuration is non-default and exploitation requires attacker-controllable guest content, inventory your Electron applications for webviewTag: true combined with sandbox: false as the priority triage signal.

Affected VersionsENISA

electron < 41.10.6
electron 44.0.0-alpha.1, < 44.0.0-beta.5
electron 43.0.0-alpha.1, < 43.4.1
electron 42.0.0-alpha.1, < 42.9.2

Affected Packages

npm electron fix: 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5
euvd electron_42_0_0_alpha_1 fix: 42.9.2
euvd electron_43_0_0_alpha_1 fix: 43.4.1
euvd electron_44_0_0_alpha_1 fix: 44.0.0-beta.5

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 is a Chromium/Node.js desktop application framework whose <webview> tag embeds a separate, guest web contents inside a host (embedder) page. Each web contents is configured through webPreferences flags - contextIsolation, javascript, nodeIntegration, nodeIntegrationInWorker, sandbox, nodeIntegrationInSubFrames and enableWebSQL - and the guest could previously request its own values through the webpreferences attribute. The flaw is a CWE-269 improper privilege management issue: the guest's nodeIntegrationInWorker preference was not treated as security-critical, so a guest could set it (for example webpreferences="nodeIntegrationInWorker=yes") and cause a dedicated Web Worker to be created with access to Node's require, even though the embedder had nodeIntegration disabled and the embedder never delegated that capability. Web Workers are a separate JavaScript execution context, so the guest effectively re-opened the Node integration surface the embedder had closed, in a context the embedder did not control. The upstream fix makes the security-critical webPreferences one-way restrictions: a guest can never be made less secure than its embedder. Concretely the patch adds nodeIntegrationInWorker to the security webPreferences lists in lib/browser/guest-view-manager.ts (makeWebPreferences) and lib/browser/guest-window-manager.ts, sets options::kNodeIntegrationInWorker in shell/browser/web_contents_preferences.cc when appending command-line switches, and documents that when the embedder sets contextIsolation, javascript, nodeIntegration, nodeIntegrationInWorker, sandbox, nodeIntegrationInSubFrames or enableWebSQL to its more secure value, the guest inherits that value and the matching webpreferences entry is ignored. Regression tests in spec/webview-spec.ts assert that a guest worker's typeof require is undefined both with an unsandboxed embedder and with a sandboxed embedder.

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 HIGH
NVD 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.0 CRITICAL

AV:N and PR:N because untrusted remote guest content triggers it; AC:H reflects the required non-default embedder configuration (webview enabled + unsandboxed); S:C and C/I/A:H as the guest escapes its granted privilege to full Node/host code execution.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Red Hat 8.3 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

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

Lifecycle Timeline

4
Severity Changed
Oct 15, 2026 - 13:52 NVD
HIGH CRITICAL
CVSS changed
Oct 15, 2026 - 13:52 NVD
8.3 (HIGH) 9.8 (CRITICAL)
Patch available
Sep 29, 2026 - 18:18 EUVD
CVE Published
Sep 29, 2026 - 16:56 cve.org
HIGH 8.3

DescriptionNVD

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, an Electron <webview> guest could enable nodeIntegrationInWorker for its Web Workers even when the unsandboxed embedder had Node.js integration disabled, allowing untrusted guest content to create a Node-enabled worker with more privilege than the embedder granted. Applications that do not enable the <webview> tag or that keep the embedder sandboxed are not affected. This issue is fixed in versions 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5.

Technical POC Analysis

Evidence supplied: GitHub Security Advisory GHSA-9qh4-3jw8-366w only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A privilege-escalation flaw in the Electron framework (CVE-2026-102676) can allow untrusted content running inside a <webview> guest to gain Node.js execution privileges that the host application intended to deny, putting any desktop application that embeds third-party or user-supplied content at risk. Exploitation is not automatic and depends on a non-default configuration - the webview tag enabled, an unsandboxed embedder, and attacker-controllable guest content - but the resulting access is high-privilege, so engineering and product security leadership should prioritize upgrading affected Electron-based clients. There is no public exploit identified at time of analysis, which gives teams a limited window to remediate before exploit code appears.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
High
cross-platform desktop framework behind many widely deployed applications
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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

CVE-2023-23623 CRITICAL
9.8 Sep 06

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Rated c

Vendor StatusVendor

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