BreachSpiderVerified, not vibes

CVE-2026-34765 in Electronjs Electron

High 8.8

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 rende...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.4%
EPSS percentile26th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Electronjs Electron 41.2.0 42.0.0 ≤ 39.8.4 ≥ 40.0.0, ≤ 40.8.4 ≥ 41.0.0, < 41.1.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34765
BreachSpider IDBS-2026-GLOBAL-151333-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-04-07
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-668: CWE-668

Analysis AI-written, not human-reviewed

CVE-2026-34765 affects Electron versions prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5. It allows a renderer process to navigate an existing child window opened by a different, unrelated renderer process due to improper scoping of named-window lookups.

An attacker can exploit this vulnerability by crafting a malicious application that uses the window.open() method to target and navigate a window opened by another application. This can lead to unauthorized access or manipulation of the targeted application's content.

Questions

What is CVE-2026-34765?

CVE-2026-34765 affects Electron versions prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5. It allows a renderer process to navigate an existing child window opened by a different, unrelated renderer process due to improper scoping of named-window lookups.

What is the CVSS score for CVE-2026-34765?

CVE-2026-34765 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2026-34765 actively exploited?

No confirmed active exploitation of CVE-2026-34765 as of 2026-07-25.

How do I remediate CVE-2026-34765?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34765?

CVE-2026-34765 affects Electronjs Electron.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.