Skip to main content

Node.js CVE-2026-34775

CRITICAL
Improper Isolation or Compartmentalization (CWE-653)
2026-04-03 https://github.com/electron/electron GHSA-xwr5-m59h-vwqr
Critical
Disputed · 9.8 NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Component isolation
Impact

The CVSS 6.8 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N) indicates network-accessible vulnerability requiring high attack complexity, user interaction, and no privileges-typical of browser-based attacks requiring social engineering or user click-through. Confidentiality and integrity are high-impact (information disclosure and code execution possible), but availability is not affected. The attack complexity is elevated, partially mitigating the risk; an attacker must craft a specific multi-frame configuration and trigger worker creation in a precisely scoped context. Critically, this vulnerability is opt-in-only applications that explicitly enable nodeIntegrationInWorker are vulnerable, significantly reducing real-world surface area. The requirement for user interaction (UI:R) further constrains practical exploitability. No public exploit code or active exploitation (KEV status) has been identified, and the complexity of the attack scenario suggests this is a lower-priority issue compared to simpler remote code execution vectors, despite the elevated CVSS score.

Exploit ScenarioDerived

An attacker could craft a malicious website that, when loaded by an Electron application with nodeIntegrationInWorker enabled, creates a child frame with nodeIntegrationInWorker: false and then spawns a Web Worker from that frame. Due to the scoping flaw, the worker would unexpectedly receive Node.js integration, allowing the attacker to execute arbitrary Node.js code and access the local filesystem, system processes, or other privileged operations. This requires the user to navigate to or be socially engineered into visiting the malicious site within a vulnerable Electron application. No public exploit code has been identified.

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

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

Alert me

AnalysisAIv1 – Apr 03, 2026

Electron's nodeIntegrationInWorker webPreference fails to properly isolate Node.js integration in worker contexts across certain process-sharing configurations, allowing workers in frames explicitly configured with nodeIntegrationInWorker: false to unexpectedly gain Node.js capabilities. Only applications that explicitly enable nodeIntegrationInWorker are affected. The vulnerability carries a CVSS score of 6.8 and permits information disclosure and code execution in affected contexts, with no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: Electron 41.0.0, 40.8.4, 39.8.4, or 38.8.6 depending on the currently deployed major version. Application maintainers should upgrade to the corresponding patched version immediately. For applications unable to upgrade immediately, the primary workaround is to avoid enabling nodeIntegrationInWorker in applications that also open child windows or embed external content with differing webPreferences; alternatively, ensure all frames within a shared process have identical webPreferences configurations. Consult the GitHub security advisory at https://github.com/electron/electron/security/advisories/GHSA-xwr5-m59h-vwqr for detailed remediation guidance and version-specific upgrade paths.

Affected Packages

npm electron fix: 38.8.6, 39.8.4, 40.8.4, 41.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Electron is a framework for building cross-platform desktop applications using web technologies (Chromium and Node.js). The nodeIntegrationInWorker webPreference controls whether Web Workers spawned within a renderer process have access to Node.js APIs. The vulnerability exists in the scoping mechanism that enforces this security boundary; when multiple frames with differing webPreferences are managed in a shared process context, the isolation logic fails to correctly propagate the nodeIntegrationInWorker: false setting to worker threads. This is fundamentally a CWE-653 (Insufficient Compartmentalization) issue-the security boundary between sandboxed and non-sandboxed execution contexts is not adequately enforced. The affected npm package is electron across versions prior to 41.0.0, 40.8.4, 39.8.4, and 38.8.6.

Know when Node.js 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

Sources disagree (Medium–Critical)
NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 6.8 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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
Jul 24, 2026 - 22:23 NVD
MEDIUM CRITICAL
CVSS changed
Jul 24, 2026 - 22:23 NVD
6.8 (MEDIUM) 9.8 (CRITICAL)
Patch released
Apr 03, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 03, 2026 - 02:43 nvd
MEDIUM 6.8

DescriptionNVD

Impact

The nodeIntegrationInWorker webPreference was not correctly scoped in all configurations. In certain process-sharing scenarios, workers spawned in frames configured with nodeIntegrationInWorker: false could still receive Node.js integration.

Apps are only affected if they enable nodeIntegrationInWorker. Apps that do not use nodeIntegrationInWorker are not affected.

Workarounds

Avoid enabling nodeIntegrationInWorker in apps that also open child windows or embed content with differing webPreferences.

Fixed Versions

  • 41.0.0
  • 40.8.4
  • 39.8.4
  • 38.8.6

For more information

If there are any questions or comments about this advisory, please email [security@electronjs.org](mailto:security@electronjs.org)

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
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.0%
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
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

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

Affected Products (CPE)NVD

pkg:npm/electron
pkg:npm/electron
pkg:npm/electron
pkg:npm/electron
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

Vendor StatusVendor

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