Skip to main content

CVE-2026-102676 — Vulnerability in electron — CVE Details

HIGH

Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions

Published September 29, 2026Updated September 29, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.66%). Schedule for your next planned update.

Does your project use an affected electron version?

Paste your package-lock.json to check it for CVE-2026-102676 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

Impact

A <webview> could enable Node.js integration in its Web Workers even when its embedder had Node.js integration disabled, giving guest content more privilege than the embedder allowed.

Apps are only affected if they enable the <webview> tag and the embedder is unsandboxed. Apps that do not use <webview>, or that keep the embedder sandboxed, are not affected.

Workarounds

Remove nodeIntegrationInWorker from the guest preferences in a will-attach-webview handler, or do not enable the <webview> tag when loading untrusted content.

Fixed Versions

  • 44.0.0-beta.5
  • 43.4.1
  • 42.9.2
  • 41.10.6

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

Advisory Timeline

  • First published September 29, 2026 (58 days ago).
  • Last revised September 29, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update electron to 41.10.6 or later
npm install electron@41.10.6
npm
Update electron to 44.0.0-beta.5 or later
npm install electron@44.0.0-beta.5
npm
Update electron to 43.4.1 or later
npm install electron@43.4.1
npm
Update electron to 42.9.2 or later
npm install electron@42.9.2

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: npm (1).

PackageFixed In
electron npm · Affected: All versions41.10.6
electron npm · Affected: All versions44.0.0-beta.5
electron npm · Affected: All versions43.4.1
electron npm · Affected: All versions42.9.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.3 score means for each attack dimension.

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

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

Frequently Asked Questions

What is CVE-2026-102676?
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.3/10).
How do I check if my project is affected by CVE-2026-102676?
CVE-2026-102676 affects electron. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-102676 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.3

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.66%
EPSS percentile: 46.7

This is a below-median EPSS score — only 46.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-9qh4-3jw8-366w

Related CVEs

  • CVE-2026-54257
    CRITICAL

    Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-102674
    HIGH

    Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions

  • CVE-2026-102673
    HIGH

    Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

  • CVE-2023-4863
    HIGH

    libwebp: OOB write in BuildHuffmanTable

  • CVE-2026-34780
    HIGH

    Electron: Context Isolation bypass via contextBridge VideoFrame transfer

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json