5.9

CVE-2026-70599: Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin

Analyzed
AliasesGHSA-9pf5-hg6p-4pwp
Published 05-08-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-70599 is a medium (CVSS 5.9) Origin Validation Error vulnerability in electron. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 05-08-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last 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

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
  • electronEOL< 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