CVE-2026-70599
Received
Received - Intake
Origin Validation Bypass in Electron Framework
Vulnerability report for CVE-2026-70599, 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
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, serial-port and media permission checks made from an iframe passed the top-level frame origin to session.setPermissionCheckHandler instead of the requesting iframe origin. Origin-based handler logic could grant a cross-origin iframe device access intended only for the top-level origin. This issue is fixed in 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| electron | electron | 39.8.7 |
| electron | electron | 40.9.0 |
| electron | electron | 41.2.0 |
| electron | electron | 42.0.0-beta.1 |
| electron | electron | to 39.8.7 (exc) |
| electron | electron | to 40.9.0 (exc) |
| electron | electron | to 41.2.0 (exc) |
| electron | electron | to 42.0.0-beta.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-346 | The product does not properly verify that the source of data or communication is valid. |