Origin Validation Error The advisory has been revoked - it doesn't affect any version of package electron/electron  (opens in a new tab)


Threat Intelligence

EPSS
0.19% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ELECTRONELECTRON-18563315
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

CVE-2026-70599  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade electron/electron to version 39.8.7, 40.9.0, 41.2.0, 42.0.0-beta.1 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Origin Validation Error in the setPermissionCheckHandler. An attacker can gain unauthorized access to device permissions by embedding a cross-origin iframe and exploiting origin-based permission logic.

Note: This is only exploitable if the application uses origin-based logic in setPermissionCheckHandler and delegates device permissions to cross-origin iframes.

Workaround

This vulnerability can be mitigated by checking details.securityOrigin instead of requestingOrigin for permission decisions, or by not delegating device permissions to untrusted iframes.