CVE-2026-70603: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path to open a different file than the one that passed validation. Apps are only affected if they pass paths derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-70603
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-70603 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for Electron is a
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- mediumGHSA-p2rr-rvmm-c5fp: Electron: Sandboxed iframes can launch external protocol handlersghsa · 2026-08-05
- mediumGHSA-f2r8-jv7c-xqmp: Electron: DevTools embedder handler executes arbitrary files via shell openghsa · 2026-08-05
- mediumGHSA-ff2p-hmqr-hxm4: Electron: contextBridge object copy honors prototype settersghsa · 2026-08-05
- mediumGHSA-4f78-qhmw-8j8m: Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameterghsa · 2026-08-05
- highGHSA-9f4c-93c8-jc8g: Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL naviga…ghsa · 2026-08-05
- mediumGHSA-v93f-fgjr-hjrj: Electron: window.open features string controls some window options considered privilegedghsa · 2026-08-05
More from NVD Recent CVEs
- highCVE-2026-9203: A server-side request forgery vulnerability in Progress MarkLogic Server before 11.3.6 and 12.0…2026-08-05
- criticalCVE-2026-9195: A cross-site scripting vulnerability in the Query Console of Progress MarkLogic Server before 1…2026-08-05
- criticalCVE-2026-9193: An improper privilege management vulnerability in the Hadoop integration of Progress MarkLogic …2026-08-05
- criticalCVE-2026-9192: An authentication bypass vulnerability in the ODBC App Server of Progress MarkLogic Server befo…2026-08-05
- criticalCVE-2026-9190: An HTTP request smuggling vulnerability in the HTTP App Server of Progress MarkLogic Server bef…2026-08-05