Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-34775

CVE-2026-34775: Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes

April 3, 2026 (updated April 6, 2026)

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.

References

  • github.com/advisories/GHSA-xwr5-m59h-vwqr
  • github.com/electron/electron
  • github.com/electron/electron/security/advisories/GHSA-xwr5-m59h-vwqr
  • nvd.nist.gov/vuln/detail/CVE-2026-34775

Code Behaviors & Features

Detect and mitigate CVE-2026-34775 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 38.8.6, all versions starting from 39.0.0-alpha.1 before 39.8.4, all versions starting from 40.0.0-alpha.1 before 40.8.4, all versions starting from 41.0.0-alpha.1 before 41.0.0

Fixed versions

  • 38.8.6
  • 39.8.4
  • 40.8.4
  • 41.0.0

Solution

Upgrade to versions 38.8.6, 39.8.4, 40.8.4, 41.0.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-653: Improper Isolation or Compartmentalization

Source file

npm/electron/CVE-2026-34775.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:55 +0000.