Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-34775 EUVD-2026-18949GHSA-xwr5-m59h-vwqr

Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes

Published Apr 3, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, 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. This issue has been patched in versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0.

Affected products

VendorProductAffectedFixed
electron electron < 38.8.6, >= 39.0.0-alpha.1, < 39.8.4, >= 40.0.0-alpha.1, < 40.8.4, >= 41.0.0-alpha.1, < 41.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 38.8.6 38.8.6 GHSA-xwr5-m59h-vwqr
npm electron >= 39.0.0-alpha.1, < 39.8.4 39.8.4 GHSA-xwr5-m59h-vwqr
npm electron >= 40.0.0-alpha.1, < 40.8.4 40.8.4 GHSA-xwr5-m59h-vwqr
npm electron >= 41.0.0-alpha.1, < 41.0.0 41.0.0 GHSA-xwr5-m59h-vwqr

References