Incorrect Permission Assignment for Critical Resource The advisory has been revoked - it doesn't affect any version of package electron/electron  (opens in a new tab)


Threat Intelligence

EPSS
0.43% (36th 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-18563246
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

CVE-2026-70612  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade electron/electron to version 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the openExternal. An attacker can cause an OS-registered external application to be launched by sending requests from sandboxed iframes that are not properly restricted.

Note: This is only exploitable if untrusted content is rendered in sandboxed iframes and the openExternal permission is granted (which is the default unless a custom permission handler is installed).

Workaround

This vulnerability can be mitigated by installing a setPermissionRequestHandler that denies the openExternal permission for untrusted content.