CVE-2026-70599
published medium CVSS 3.1 · 5.9Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 39.8.7 (affected)>= 40.0.0-alpha.1, < 40.9.0 (affected)>= 41.0.0-alpha.1, < 41.2.0 (affected)>= 42.0.0-alpha.1, < 42.0.0-beta.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-346 CWE-346: Origin Validation Error
References
2Provider assertions
2GitHub_M · cna
Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ccb559ce44003e6712a642e6ee170bdcc94b4868147d601b0087dd1473493461
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record