CVE-2026-102674: Electron Windows Opened From A Sandboxed Vulnerability
HIGHCVE-2026-102674 is a HIGH (CVSS 8.2) windows opened from a sandboxed vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Electron libraries in the npm ecosystem. The issue involves windows opened from a sandboxed top-level document do not inherit its sandbox 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-102674 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N).
How to Fix CVE-2026-102674
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-102674, 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-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular 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-102674 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-102674?
Which Electron versions are affected?
What version fixes CVE-2026-102674?
Is electron affected?
What is the CVSS score of CVE-2026-102674?
What CWE is associated with CVE-2026-102674?
How can I check npm dependencies for CVE-2026-102674?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gr2m-v5gq-v685",
"modified" : "2026-09-29T18:05:11Z",
"published" : "2026-09-29T18:05:11Z",
"aliases" : [ "CVE-2026-102674" ],
"summary" : "Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions",
"details" : "### Impact\n\nWindows opened from a sandboxed top-level document did not inherit that document's HTML `sandbox` restrictions, so content that was meant to run sandboxed could open a window with the app's full origin. GHSA-hq2x-r82h-9wj4 covers the same issue for sandboxed iframes.\n\nApps are only affected if they render untrusted content in a sandboxed top-level document that allows popups. Apps that deny popups from untrusted content with `setWindowOpenHandler` are not affected.\n\n### Workarounds\n\nReturn `{ action: 'deny' }` from `setWindowOpenHandler` for windows opened by 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:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
} ],
"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-gr2m-v5gq-v685"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1d"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/commit/6594d5a5b074cf501da084dc7908d3df0d68a886"
}, {
"type" : "WEB",
"url" : "https://github.com/electron/electron/commit/e9c4d3cbe912e18d7c63af78e63e98ae7a48cd3a"
}, {
"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-266", "CWE-693" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-29T18:05:11Z",
"nvd_published_at" : null
}
}