CVE-2026-70609
Last modified
CVE-2026-70609 is a medium-severity vulnerability rated 5.7/10 on the CVSS scale. Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1, the mode option of webContents.openDevTools() was not sanitized before use by the DevTools frontend.
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1, the mode option of webContents.openDevTools() was not sanitized before use by the DevTools frontend. If an attacker can influence this value, script under their control may run in the DevTools context, which in unsandboxed configurations has access to Node.js, including when untrusted input reaches the mode argument of openDevTools() or untrusted content calls openDevTools() on a webview it embeds. This issue is fixed in 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1.
Metrics
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| electron | electron | < 39.8.7; >= 40.0.0-alpha.1, < 40.9.0; >= 41.0.0-alpha.1, < 41.2.0; >= 42.0.0-alpha.1, < 42.0.0-beta.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-70609?
How severe is CVE-2026-70609?
How do I fix CVE-2026-70609?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-70603Electron is a framework for writing cross-platform desktop a…6
- CVE-2026-70604Electron is a framework for writing cross-platform desktop a…7.4
- CVE-2026-70605Electron is a framework for writing cross-platform desktop a…5.9
- CVE-2026-70606Electron is a framework for writing cross-platform desktop a…5.9
- CVE-2026-70607Electron is a framework for writing cross-platform desktop a…5.3
- CVE-2026-70608Electron is a framework for writing cross-platform desktop a…7.2
- CVE-2026-7061A weakness has been identified in Toowiredd chatgpt-mcp-serv…7.3
- CVE-2026-70610Electron is a framework for writing cross-platform desktop a…5.4
- CVE-2026-70611Electron is a framework for writing cross-platform desktop a…6.9
- CVE-2026-70612Electron is a framework for writing cross-platform desktop a…5.4
- CVE-2026-70615boringproxy through 0.10.0 contains a newline injection vuln…9.9
- CVE-2026-70616boringproxy through 0.10.0 contains a resource exhaustion vu…7.1
Are you affected by CVE-2026-70609?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
