Vulnerabilities

CVE-2026-70599

Medium 5.9 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-05
Last modified
2026-10-08
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Electronjs Electron < 39.8.7 Affected
Electronjs Electron 42.0.0 Affected
Electronjs Electron ≥ 40.0.0, < 40.9.0 Affected
Electronjs Electron ≥ 41.0.0, < 41.2.1 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Related at Berigo

Articles

Services

  • NIS2 for the Board

    NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities