CVE-2026-102676: Electron <webview> Can Enable Node.js Integration Vulnerability

HIGH
Advisory Identifier: GHSA-9qh4-3jw8-366w
CVSS 8.3
CWE-269 CWE-1188
Published
Advisory Summary

CVE-2026-102676 is a HIGH (CVSS 8.3) <webview> can enable node.js integration vulnerability (CWE-269: Improper Privilege Management) affecting Electron libraries in the npm ecosystem. The issue involves <webview> can enable node.js integration in web workers despite embedder restrictions. Remediation is available by upgrading affected packages to version 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5.

CVE-2026-102676 at a Glance

CVE Identifier CVE-2026-102676
GHSA Identifier GHSA-9qh4-3jw8-366w
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-269: Improper Privilege Management
Affected Product Electron
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-102676

To remediate this vulnerability, upgrade all affected Electron dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

electron fixed: 41.10.6
npm install electron@41.10.6
electron fixed: 42.9.2
npm install electron@42.9.2
electron fixed: 43.4.1
npm install electron@43.4.1
electron fixed: 44.0.0-beta.5
npm install electron@44.0.0-beta.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls electron

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-102676, inspect your project dependencies using npm:

npm ls electron

Analyze the terminal output to locate any version of Electron in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 41.10.6), your application is affected.

Note: The npm ls electron command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Electron, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](mailto:security@electronjs.org)

CVE-2026-102676 Affected Electron Versions

4 component(s)
Fixed Versions:
41.10.642.9.243.4.144.0.0-beta.5
Product / Package Ecosystem Affected Versions Fixed Version
electron
npm
< 41.10.6
41.10.6
electron
npm
≥ 42.0.0-alpha.1
< 42.9.2
42.9.2
electron
npm
≥ 43.0.0-alpha.1
< 43.4.1
43.4.1
electron
npm
≥ 44.0.0-alpha.1
< 44.0.0-beta.5
44.0.0-beta.5

References

Frequently Asked Questions

What is CVE-2026-102676?
CVE-2026-102676 is a security vulnerability in Electron involving <webview> can enable Node.js integration in Web Workers despite embedder restrictions under CWE-269: Improper Privilege Management.
Which Electron versions are affected?
Affected versions include releases prior to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 across affected packages: electron.
What version fixes CVE-2026-102676?
Upgrading to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is electron affected?
Yes, electron is affected in releases prior to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5. Upgrade your dependency to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 or later.
What is the CVSS score of CVE-2026-102676?
CVE-2026-102676 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-102676?
CVE-2026-102676 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check npm dependencies for CVE-2026-102676?
Run the dependency tree command: 'npm ls electron'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9qh4-3jw8-366w",
  "modified" : "2026-09-29T18:02:19Z",
  "published" : "2026-09-29T18:02:18Z",
  "aliases" : [ "CVE-2026-102676" ],
  "summary" : "Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions",
  "details" : "### Impact\n\nA `<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.\n\nApps 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.\n\n### Workarounds\n\nRemove `nodeIntegrationInWorker` from the guest preferences in a `will-attach-webview` handler, or do not enable the `<webview>` tag when loading untrusted content.\n\n### Fixed Versions\n\n* `44.0.0-beta.5`\n* `43.4.1`\n* `42.9.2`\n* `41.10.6`\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "41.10.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "42.0.0-alpha.1"
      }, {
        "fixed" : "42.9.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "43.0.0-alpha.1"
      }, {
        "fixed" : "43.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "44.0.0-alpha.1"
      }, {
        "fixed" : "44.0.0-beta.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/security/advisories/GHSA-9qh4-3jw8-366w"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/6462a2e1dc4e6adffd3b7d9b9be1474c45dcbbe2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/9a675aef8822bae4088567822969f900b3a37671"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/b3ae0aab5cf81c2ed03d04df1ae8e69ecfab7886"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/cd34f335c8664613db5b6e61ae51e2e1846233ae"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/electron/electron"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v41.10.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v42.9.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v43.4.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v44.0.0-beta.5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1188", "CWE-269" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-29T18:02:18Z",
    "nvd_published_at" : null
  }
}