CVE-2026-70599

Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin

MEDIUM
5.9
CVSS Score
Published: August 5, 2026 at 03:36 PM UTC
Updated: October 8, 2026 at 01:54 PM UTC
2 products affected across 2 vendorsElectronElectron

Using electron by electron?

Get instant alerts when new vulnerabilities affect electron - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 39.8.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.2.1, so it looks safe — our inference, not a vendor statement
v < 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 range stops below 39.8.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.2.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 42.0.0-beta.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-346

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card