Disclosure summary
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.
Source-reported weakness categories
CWE-94, CWE-116
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2026-70609
Open original source · Updated Oct 08, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| electronjs | electron | * {"versionStartIncluding":"41.0.0","versionEndExcluding":"41.2.0"} |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
| electronjs | electron | 42.0.0 |
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Issue Tracking, Patch
- github.com — Issue Tracking, Patch
- github.com — Issue Tracking, Patch
- github.com — Issue Tracking, Patch
- github.com — Release Notes
- github.com — Release Notes
- github.com — Release Notes
- github.com — Release Notes
- github.com — Vendor Advisory
PUBLISHED 2026-08-05T14:17:15-04:00
MODIFIED 2026-10-08T09:53:24-04:00
INGESTED 2026-10-10T20:25:12-04:00