6.9medium
Electron: DevTools embedder handler executes arbitrary files via shell open
- Severity
- 6.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-f2r8-jv7c-xqmp
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| electron electron | < 39.8.9, >= 40.0.0-alpha.1, < 40.9.2, >= 41.0.0-alpha.1, < 41.2.1, >= 42.0.0-alpha.1, < 42.0.0-beta.3 | CVE List |
| electron (npm) | before 39.8.9, from 40.0.0-alpha.1 before 40.9.2, from 41.0.0-alpha.1 before 41.2.1, from 42.0.0-alpha.1 before 42.0.0-beta.3 | GitHub Advisory Database |
| electronjs electron | before 39.8.9, from 40.0.0 before 40.9.2, from 41.0.0 before 41.2.1, 42.0.0 | NVD |
All scores
| GitHub_M | 6.9medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 6.9medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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 this to execute native code outside the sandbox.
Apps are only affected if DevTools is opened for windows exposed to untrusted content or untrusted DevTools extensions. Apps that do not open DevTools in that context are not affected.
Workarounds
Do not open DevTools for windows that load untrusted content, and do not load untrusted DevTools extensions.
Fixed Versions
42.0.0-beta.341.2.140.9.239.8.9
For more information
If you have any questions or comments about this advisory, email Electron at security@electronjs.org
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70611 changed 2026-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f2r8-jv7c-xqmp changed 2026-08-05 | CC-BY-4.0 |
| NVD | CVE-2026-70611 changed 2026-11-03 | Public domain |