CVE-2026-70607
Received Received - Intake

Electron Framework Unauthorized Window Option Access

Vulnerability report for CVE-2026-70607, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: GitHub, Inc.

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, some window options supplied by web content in the window.open() features string were applied to the new BrowserWindow without an allowlist. Untrusted content could set window options it should not control, including options that cause the main process to access attacker-chosen file or network paths, when untrusted content can call window.open() and the app does not override child window options via setWindowOpenHandler or overrideBrowserWindowOptions. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
electron electron to 39.8.8 (exc)
electron electron to 40.9.0 (exc)
electron electron to 41.2.1 (exc)
electron electron to 42.0.0-beta.3 (exc)
electron electron to 40.0.0-alpha.1 (exc)
electron electron From 40.0.0-alpha.1 (exc) to 40.9.0 (inc)
electron electron From 41.0.0-alpha.1 (exc) to 41.2.1 (inc)
electron electron From 42.0.0-alpha.1 (exc) to 42.0.0-beta.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-70607 is a vulnerability in the Electron framework where untrusted web content could pass unsafe window options via the window.open() features string. These options were applied to new BrowserWindow instances without validation, potentially allowing the main process to access attacker-chosen file or network paths. The issue affects Electron versions before 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.

Detection Guidance

Detecting this vulnerability requires checking if your Electron application is running a vulnerable version and if untrusted content can call window.open without proper restrictions. Review your application's Electron version against the fixed versions (39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3). Check if your app overrides child window options using setWindowOpenHandler or overrideBrowserWindowOptions.

Impact Analysis

If your Electron app allows untrusted content to call window.open() and does not override child window options, attackers could exploit this to access sensitive files or network resources via unsafe window options. The impact includes potential data breaches or unauthorized system access.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing untrusted web content to access file or network paths through window.open() features. This may lead to unauthorized data access or exfiltration, violating data protection requirements under these regulations.

Mitigation Strategies

Immediately update Electron to a patched version (39.8.8, 40.9.0, 41.2.1, or 42.0.0-beta.3). If updating is not possible, implement setWindowOpenHandler to return { action: 'deny' } for untrusted content or explicitly set overrideBrowserWindowOptions to restrict unsafe window options.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70607. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart