CVE-2026-34775

Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes

State
Published
Severity
6.8 Medium
Published
Apr 3, 2026
Updated
Apr 8, 2026
Reserved
Mar 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-653 Improper Isolation or Compartmentalization

Affected Products

ProductVersions
electronelectron
  • < 38.8.6Affected
  • >= 39.0.0-alpha.1, < 39.8.4Affected
  • >= 40.0.0-alpha.1, < 40.8.4Affected
  • >= 41.0.0-alpha.1, < 41.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.