Read the docs
TI-2026-27009 Aliases CVE-2026-34765GHSA-f3pv-wv63-48x8

Electron named window.open targets not scoped to the opener's browsing context

Priority MEDIUM 40CWE-668Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, when a renderer calls window.open() with a target name, Electron did not correctly scope the named-window lookup to the opener's browsing context group. A renderer could navigate an existing child window that was opened by a different, unrelated renderer if both used the same target name. If that existing child was created with more permissive webPreferences (via setWindowOpenHandler's overrideBrowserWindowOptions), content loaded by the second renderer inherits those permissions. Apps are only affected if they open multiple top-level windows with differing trust levels and use setWindowOpenHandler to grant child windows elevated webPreferences such as a privileged preload script. Apps that do not elevate child window privileges, or that use a single top-level window, are not affected. Apps that additionally grant nodeIntegration: true or sandbox: false to child windows (contrary to the security recommendations) may be exposed to arbitrary code execution. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00305 23rd percentileScored 2026-11-07
Fix Partial electron (electron): 39.8.5, 40.8.5, 41.1.0 +1electron (npm): 39.8.5, 40.8.5, 41.1.0 +1Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electronelectronbefore 39.8.5; 40.0.0-alpha.1 to before 40.8.5; 41.0.0-alpha.1 to before 41.1.0; 42.0.0-alpha.1 to before 42.0.0-alpha.539.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5Patch availableCNA
—electron (npm)before 39.8.539.8.5Patch availableGHSA-f3pv-wv63-48x8
—electron (npm)40.0.0-alpha.1 to before 40.8.540.8.5Patch availableGHSA-f3pv-wv63-48x8
—electron (npm)41.0.0-alpha.1 to before 41.1.041.1.0Patch availableGHSA-f3pv-wv63-48x8
—electron (npm)42.0.0-alpha.1 to before 42.0.0-alpha.542.0.0-alpha.5Patch availableGHSA-f3pv-wv63-48x8
  • electron Vendorelectron Affected before 39.8.5; 40.0.0-alpha.1 to before 40.8.5; 41.0.0-alpha.1 to before 41.1.0; 42.0.0-alpha.1 to before 42.0.0-alpha.5 Fixed in 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5 Patch available CNA
  • electron (npm) Vendor— Affected before 39.8.5 Fixed in 39.8.5 Patch available GHSA-f3pv-wv63-48x8
  • electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.8.5 Fixed in 40.8.5 Patch available GHSA-f3pv-wv63-48x8
  • electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.1.0 Fixed in 41.1.0 Patch available GHSA-f3pv-wv63-48x8
  • electron (npm) Vendor— Affected 42.0.0-alpha.1 to before 42.0.0-alpha.5 Fixed in 42.0.0-alpha.5 Patch available GHSA-f3pv-wv63-48x8

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*up to 39.8.4; 40.0.0 – 40.8.4; 41.0.0 to before 41.1.0VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:*41.2.0VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*42.0.0 alpha1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*42.0.0 alpha2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*42.0.0 alpha3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*42.0.0 alpha4VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions up to 39.8.4; 40.0.0 – 40.8.4; 41.0.0 to before 41.1.0 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:* Versions 41.2.0 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:* Versions 42.0.0 alpha1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:* Versions 42.0.0 alpha2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:* Versions 42.0.0 alpha3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:* Versions 42.0.0 alpha4 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5
  • Fix · GHSA-f3pv-wv63-48x8 electron (npm) Fixed in 39.8.5 Advisory →
  • Fix · GHSA-f3pv-wv63-48x8 electron (npm) Fixed in 40.8.5 Advisory →
  • Fix · GHSA-f3pv-wv63-48x8 electron (npm) Fixed in 41.1.0 Advisory →
  • Fix · GHSA-f3pv-wv63-48x8 electron (npm) Fixed in 42.0.0-alpha.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of Podman DesktopAffectedNo fix yet
Red Hat Build of Podman Desktop - Tech PreviewAffectedNo fix yet
Red Hat Enterprise Linux 10AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34765
  2. 2026-10-03 Alias added: GHSA-f3pv-wv63-48x8

References

  • TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
  • TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
  • TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
  • TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
  • TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
  • TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
See all 74 →

Sources