CVE-2026-70599: electron Origin Validation Error
Vulnerability summary
CVE-2026-70599 is a medium (CVSS 5.9) Origin Validation Error vulnerability in electron. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.5% of scored vulnerabilities.
Timeline
- 05-08-2026PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
+0.01 pp
From 0.18% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Electron1 product
- 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
Electronjs1 product
- electron< 39.8.7 | ≥ 40.0.0, < 40.9.0 | ≥ 41.0.0, < 41.2.1 | 42.0.0:alpha1 | 42.0.0:alpha2 | 42.0.0:alpha3 | 42.0.0:alpha4 | 42.0.0:alpha5 | 42.0.0:alpha6 | 42.0.0:beta1 | 42.0.0:beta2
Npm1 product
- 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
3 vendors · 3 products
References
3 links- github.com/electron/electron/security/advisories/GHSA-9pf5-hg6p-4pwpX Refsource CONFIRMWEBVendor Advisory
- github.com/electron/electron/commit/0cbdf2f0375466d701aa393c92e0ec29eb89ea6cX Refsource MISCWEBPatch
- github.com/electron/electronPACKAGE