Electron: DevTools embedder handler executes arbitrary files via shell open
Summary
| CVE | CVE-2026-70611 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-05 18:17:15 UTC |
| Updated | 2026-08-05 19:17:40 UTC |
| Description | Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.1, and 42.0.0-beta.3, the DevTools reveal in file manager action could launch the target file rather than reveal it. An attacker with a separate means of running script inside the DevTools frontend, such as a malicious DevTools extension, could use showItemInFolder handling to execute native code outside the sandbox when DevTools is opened for windows exposed to untrusted content or untrusted DevTools extensions. This issue is fixed in 39.8.9, 40.9.2, 41.2.1, and 42.0.0-beta.3. |
Risk And Classification
Primary CVSS: v3.1 6.9 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.9 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.9 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
HighUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Electron | Electron | affected < 39.8.9 | Not specified |
| CNA | Electron | Electron | affected >= 40.0.0-alpha.1, < 40.9.2 | Not specified |
| CNA | Electron | Electron | affected >= 41.0.0-alpha.1, < 41.2.1 | Not specified |
| CNA | Electron | Electron | affected >= 42.0.0-alpha.1, < 42.0.0-beta.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/electron/electron/releases/tag/v40.9.2 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v39.8.9 | [email protected] | github.com | |
| github.com/electron/electron/pull/51114 | [email protected] | github.com | |
| github.com/electron/electron/pull/50937 | [email protected] | github.com | |
| github.com/electron/electron/commit/10fb5b39c5287f70c4bbcab4c24197f3871e... | [email protected] | github.com | |
| github.com/electron/electron/pull/50938 | [email protected] | github.com | |
| github.com/electron/electron/security/advisories/GHSA-f2r8-jv7c-xqmp | [email protected] | github.com | |
| github.com/electron/electron/pull/51115 | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v41.2.1 | [email protected] | github.com | |
| github.com/electron/electron/commit/7a1eb7e5585991b3726cedb890a6244f327f... | [email protected] | github.com | |
| github.com/electron/electron/commit/27bf1cae9274d5025684c7268496f435b7e0... | [email protected] | github.com | |
| github.com/electron/electron/releases/tag/v42.0.0-beta.3 | [email protected] | github.com | |
| github.com/electron/electron/commit/1b8a298d629d5a642c816ea5f7505359de17... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.