CVE-2026-102676: Electron <webview> Can Enable Node.js Integration Vulnerability
HIGHCVE-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
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).
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.
npm install electron@41.10.6
npm install electron@42.9.2
npm install electron@43.4.1
npm install electron@44.0.0-beta.5
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
CVE-2026-102676 Affected Electron Versions
4 component(s)| 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?
Which Electron versions are affected?
What version fixes CVE-2026-102676?
Is electron affected?
What is the CVSS score of CVE-2026-102676?
What CWE is associated with CVE-2026-102676?
How can I check npm dependencies for CVE-2026-102676?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}