CVE-2026-114121

Electron: openExternal permission requests can be attributed to the wrong origin

Published Oct 21, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5, requests to open external protocol URLs could be attributed to a document other than the one that initiated them, causing the requestingUrl passed to session.setPermissionRequestHandler to identify trusted content for a launch requested by untrusted content. An application that grants openExternal based on the requesting origin and allows untrusted content to open or navigate windows could therefore allow that content to launch an OS-registered external application. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5.

Analysis

AI-generated

Technical impact

OpenExternal permission requests have been mistakenly attributed to a document other than the one that initiated them, which means the requesting URL passed to session.setPermissionRequestHandler can be used by untrusted content to launch OS‑registered external applications. This flaw constitutes a CWE‑346 weakness, in which the application incorrectly validates the origin of a request, allowing attackers to run any program the victim’s system has registered for a given protocol without proper origin verification.

Affected Systems

Electron framework, version series before v42.11.3, v43.7.0, v44.3.0, and v45.0.0‑alpha.5, is affected. These builds handle external protocol URLs improperly. All Electron applications built on these versions are therefore vulnerable.

Risk and Exploitability

The CVSS score of 5.4 reflects a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that widespread exploitation is not yet documented. However, the flaw can be leveraged by any untrusted web content loaded into an Electron app, allowing a malicious actor to launch arbitrary local applications if the app grants openExternal based on the request origin. The attack vector is likely via any embedded webview or renderer that processes untrusted content and interacts with the app’s permission handling logic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 42.11.3 or later, including 43.7.0, 44.3.0, and 45.0.0‑alpha.5, or any subsequent release that resolves the issue.
  • Modify the permission request handler to reject open calls originating from untrusted origins and permit only from a predefined whitelist of trusted domains.
  • Remove or disable any code paths that allow untrusted content to invoke session.setPermissionRequestHandler for openExternal requests, ensuring that only trusted application code can request external URL handling.

Generated by OpenCVE AI on October 22, 2026 at 04:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-997q-gvvc-jwmx Electron: openExternal permission requests can be attributed to the wrong origin
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
Type Values Removed Values Added
Description Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5, requests to open external protocol URLs could be attributed to a document other than the one that initiated them, causing the requestingUrl passed to session.setPermissionRequestHandler to identify trusted content for a launch requested by untrusted content. An application that grants openExternal based on the requesting origin and allows untrusted content to open or navigate windows could therefore allow that content to launch an OS-registered external application. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5.
Title Electron: openExternal permission requests can be attributed to the wrong origin
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 5:07 PM
Reserved
Oct 20, 2026, 9:53 PM
Status
Undergoing Analysis
Published
Oct 21, 2026, 5:18 PM
Modified
Oct 28, 2026, 6:17 PM