Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows

CVSS 3.1 4.7 MEDIUMEUVD CVSS 3.1 4.7 CVSS 3.1 · [email protected] · Secondary 4.7 MEDIUMCVSS 3.1 · [email protected] · Primary 7.5 HIGHCVSS_V3 Publisher rating MODERATEFixed by electron 38.8.6Fixed by electron 39.8.1Fixed by electron 40.8.1Fixed by electron 41.0.0KEV status unknown

cve-program · CVE-2026-34773

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-18945

Published

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.

Read the publisher's advisory

nvd · CVE-2026-34773

Published

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.

Read the publisher's advisory

osv · GHSA-mwmh-mq4g-g6gr

Published

### Impact 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. ### Workarounds Validate the protocol name matches `/^[a-zA-Z][a-zA-Z0-9+.-]*$/` before passing it to `app.setAsDefaultProtocolClient()`. ### Fixed Versions * `41.0.0` * `40.8.1` * `39.8.1` * `38.8.6` ### For more information If there are any questions or comments about this advisory, please email [[email protected]](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-34773

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "electron",
                    "product": "electron",
                    "versions": [
                        {
                            "version": "< 38.8.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 39.0.0-alpha.1, < 39.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 40.0.0-alpha.1, < 40.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 41.0.0-alpha.1, < 41.0.0",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-18945

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 3, 2026, 11:50:42 PM

dateUpdated: Apr 6, 2026, 4:03:54 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-34773

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-20 · CWE-74

Original publisher date fields

published: 2026-04-04T00:16:18.287

lastModified: 2026-07-24T22:10:00.140

15 source CPE criteria · context only
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta8:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-mwmh-mq4g-g6gr

Published

electron

npm

SEMVER · introduced 0 → fixed 38.8.6

electron

npm

SEMVER · introduced 39.0.0-alpha.1 → fixed 39.8.1

electron

npm

SEMVER · introduced 40.0.0-alpha.1 → fixed 40.8.1

electron

npm

SEMVER · introduced 41.0.0-alpha.1 → fixed 41.0.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 02:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current