CVE-2026-70611
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.
Executive briefing
The source record describes: 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. The practical risk depends on whether an affected product/version is present, reachable and configured in an exploitable way. Review the affected-product evidence and linked vendor advisories before assigning exposure status.
Evidence confidence: Moderate Evidence-derived, not an exploitability verdict
Severity & attack characteristics
CVSS vector:CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N
Technical explanation & impact
The technical mechanism is not expanded beyond the source description unless a referenced advisory supplies additional evidence. Read the linked vendor/CERT advisories for root-cause detail.
Potential impact must be interpreted from the published CVSS impact metrics and the affected component. A CVSS impact score is not proof that a particular asset is exploitable.
Weakness classification
CWE-78Affected products and versions
Products below are parsed from NVD vulnerable CPE configuration entries. Version boundaries are shown as published; verify applicability with the vendor.
| Vendor | Product | Version evidence |
|---|---|---|
| electronjs | electron | from (inclusive) 41.0.0; before 41.2.1 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 · CPE version 42.0.0 |
Remediation & validation
- Identify exposure by comparing the affected product and version ranges with your asset inventory, SBOM and externally exposed services.
- Review the linked vendor security advisory or patch notes. Upgrade to a vendor-confirmed fixed release; do not infer a fixed version from the CVE description.
- Until patched, consider restricting network access or disabling the affected feature where operationally safe. These are temporary controls, not a substitute for a vendor fix.
- Validate the remediation with a version check and vulnerability rescan, then retain change evidence.
No fixed version is displayed unless it is explicitly established by a vendor advisory. Follow the vendor's release notes for exact product and branch applicability.
Vendor advisories, patches & exploit references
- https://github.com/electron/electron/commit/10fb5b39c5287f70c4bbcab4c24197f3871ec322 PATCH security-advisories@github.com
- https://github.com/electron/electron/commit/1b8a298d629d5a642c816ea5f7505359de17b771 PATCH security-advisories@github.com
- https://github.com/electron/electron/commit/27bf1cae9274d5025684c7268496f435b7e06b44 PATCH security-advisories@github.com
- https://github.com/electron/electron/commit/7a1eb7e5585991b3726cedb890a6244f327f43de PATCH security-advisories@github.com
- https://github.com/electron/electron/pull/50937 PATCH security-advisories@github.com
- https://github.com/electron/electron/pull/50938 PATCH security-advisories@github.com
- https://github.com/electron/electron/pull/51114 PATCH security-advisories@github.com
- https://github.com/electron/electron/pull/51115 PATCH security-advisories@github.com
- https://github.com/electron/electron/releases/tag/v39.8.9 VENDOR security-advisories@github.com
- https://github.com/electron/electron/releases/tag/v40.9.2 VENDOR security-advisories@github.com
- https://github.com/electron/electron/releases/tag/v41.2.1 VENDOR security-advisories@github.com
- https://github.com/electron/electron/releases/tag/v42.0.0-beta.3 VENDOR security-advisories@github.com
- https://github.com/electron/electron/security/advisories/GHSA-f2r8-jv7c-xqmp ADVISORY security-advisories@github.com