Summary
Electron: DevTools embedder handler executes arbitrary files via shell open
Advisory details
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
- https://github.com/advisories/GHSA-f2r8-jv7c-xqmp
- https://github.com/electron/electron/security/advisories/GHSA-f2r8-jv7c-xqmp
- https://github.com/electron/electron/pull/50937
- https://github.com/electron/electron/pull/50938
- https://github.com/electron/electron/pull/51114
- https://github.com/electron/electron/pull/51115
- https://github.com/electron/electron/commit/10fb5b39c5287f70c4bbcab4c24197f3871ec322
- https://github.com/electron/electron/commit/27bf1cae9274d5025684c7268496f435b7e06b44
Related vulnerabilities
All Supply chain →- HIGHCVE-2026-73222
Claude Code Templates: Unauthenticated OS command injection (RCE) in Claude Code Studio server (--studio)
- HIGHCVE-2026-73667
OpenChoreo: Authenticated OS command injection via OpenChoreo Workflow Plane templates enables code execution in privileged pods
- HIGHCVE-2026-55673
PowSyBl Core has Command Injection in LocalCommandExecutor-s
- CRITICALCVE-2026-45018
Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution
- HIGHCVE-2026-55580
mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist
- HIGHCVE-2026-55581
mcp-shell has a Secure Mode Allowlist Bypass via Default `/bin/bash` Executable