Vulnerability · Published Aug 5, 2026 · Assigned by GitHub_M

CVE-2026-70611Electron: DevTools embedder handler executes arbitrary files via shell open

Medium 6.9

In plain English

A medium-severity OS command injection in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.9Medium
Exploit odds (30 days)0.2%top 91.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron39.8.9GHSA-f2r8-jv7c-xqmp
npmelectron40.9.2GHSA-f2r8-jv7c-xqmp
npmelectron41.2.1GHSA-f2r8-jv7c-xqmp
npmelectron42.0.0-beta.3GHSA-f2r8-jv7c-xqmp

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N

References