BreachSpiderVerified, not vibes

CVE-2026-34773 in Electronjs Electron

High 7.5

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the p...

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

CVSS 3.17.5
EPSS0.3%
EPSS percentile17th
FixUnknown

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

Affected products and versions

VendorProductAffected versions
Electronjs Electron 41.0.0 < 38.8.6 ≥ 39.0.0, < 39.8.1 ≥ 40.0.0, < 40.8.1

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 versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

Source: NIST NVD / MITRE CVE.

Record details

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

Weakness definitions

CWE-20: Improper Input Validation

Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.

CWE-74: Injection

Parent class for all injection vulnerabilities where attacker-supplied data is interpreted as code or commands.

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20, CWE-74

CAPEC-7 Blind SQL Injection via CWE-20, CWE-74

CAPEC-8 Buffer Overflow in an API Call via CWE-20, CWE-74

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20, CWE-74

CAPEC-10 Buffer Overflow via Environment Variables via CWE-20, CWE-74

Show all 58

CAPEC-13 Subverting Environment Variable Values via CWE-20, CWE-74

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20, CWE-74

CAPEC-24 Filter Failure through Buffer Overflow via CWE-20, CWE-74

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20

CAPEC-34 HTTP Response Splitting via CWE-74

CAPEC-42 MIME Conversion via CWE-20, CWE-74

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20, CWE-74

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20, CWE-74

CAPEC-46 Overflow Variables and Tags via CWE-20, CWE-74

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20, CWE-74

CAPEC-51 Poison Web Service Registry via CWE-74

CAPEC-52 Embedding NULL Bytes via CWE-20, CWE-74

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20, CWE-74

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20, CWE-74

CAPEC-67 String Format Overflow in syslog() via CWE-20, CWE-74

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20, CWE-74

CAPEC-72 URL Encoding via CWE-20, CWE-74

CAPEC-76 Manipulating Web Input to File System Calls via CWE-74

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20, CWE-74

CAPEC-79 Using Slashes in Alternate Encoding via CWE-20, CWE-74

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20, CWE-74

CAPEC-81 Web Server Logs Tampering via CWE-20

CAPEC-83 XPath Injection via CWE-20, CWE-74

CAPEC-84 XQuery Injection via CWE-74

CAPEC-85 AJAX Footprinting via CWE-20

CAPEC-101 Server Side Include (SSI) Injection via CWE-20, CWE-74

CAPEC-105 HTTP Request Splitting via CWE-74

CAPEC-108 Command Line Execution through SQL Injection via CWE-20, CWE-74

CAPEC-109 Object Relational Mapping Injection via CWE-20

CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20

CAPEC-120 Double Encoding via CWE-20, CWE-74

CAPEC-209 XSS Using MIME Type Mismatch via CWE-20

CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20

CAPEC-273 HTTP Response Smuggling via CWE-74

CAPEC-588 DOM-Based XSS via CWE-20

CAPEC-6 Argument Injection via CWE-74

CAPEC-23 File Content Injection via CWE-20

CAPEC-63 Cross-Site Scripting (XSS) via CWE-20

CAPEC-73 User-Controlled Filename via CWE-20

CAPEC-88 OS Command Injection via CWE-20

CAPEC-104 Cross Zone Scripting via CWE-20

CAPEC-135 Format String Injection via CWE-20, CWE-74

CAPEC-136 LDAP Injection via CWE-20

CAPEC-182 Flash Injection via CWE-20

CAPEC-230 Serialized Data with Nested Payloads via CWE-20

CAPEC-231 Oversized Serialized Data Payloads via CWE-20

CAPEC-250 XML Injection via CWE-20, CWE-74

CAPEC-267 Leverage Alternate Encoding via CWE-20, CWE-74

CAPEC-473 Signature Spoof via CWE-20

CAPEC-664 Server Side Request Forgery via CWE-20

CAPEC-22 Exploiting Trust in Client via CWE-20

CAPEC-28 Fuzzing via CWE-20, CWE-74

CAPEC-153 Input Data Manipulation via CWE-20

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-34773 affects Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0 on Windows. The vulnerability arises from the lack of validation of the protocol name in the app.setAsDefaultProtocolClient(protocol) method, allowing an attacker to write to arbitrary subkeys under HKCU\Software.

An attacker can exploit this vulnerability by crafting a malicious application that uses untrusted input as the protocol name. This can lead to unauthorized modifications in the Windows registry, potentially leading to system instability or privilege escalation.

Questions

What is CVE-2026-34773?

CVE-2026-34773 affects Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0 on Windows. The vulnerability arises from the lack of validation of the protocol name in the app.setAsDefaultProtocolClient(protocol) method, allowing an attacker to write to arbitrary subkeys under HKCU\Software.

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

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

Is CVE-2026-34773 actively exploited?

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

How do I remediate CVE-2026-34773?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34773?

CVE-2026-34773 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.