{"schemaVersion":3,"id":"CVE-2026-34773","aliases":["GHSA-mwmh-mq4g-g6gr"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-03T23:50:42.168Z","modified":"2026-04-06T16:03:54.878Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00271,"percentile":0.18147,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.031000000000000038,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0024},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00271,"percentile":0.18147}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00271,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00271,"percentile":0.18147}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0-alpha.1, < 39.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0-alpha.1, < 39.8.1 | ≥ 40.0.0-alpha.1, < 40.8.1 | ≥ 41.0.0-alpha.1, < 41.0.0","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0, < 39.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0, < 40.8.1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta7","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0, < 39.8.1 | ≥ 40.0.0, < 40.8.1 | 41.0.0:alpha1 | 41.0.0:alpha2 | 41.0.0:alpha3 | 41.0.0:alpha4 | 41.0.0:alpha5 | 41.0.0:alpha6 | 41.0.0:beta1 | 41.0.0:beta2 | 41.0.0:beta3 | 41.0.0:beta4 | 41.0.0:beta5 | 41.0.0:beta6 | 41.0.0:beta7 | 41.0.0:beta8","eol":{"isEol":true,"eolDate":"2026-08-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"41","label":"41","eolFrom":"2026-08-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"41.10.7"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0-alpha.1, < 39.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.8.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0-alpha.1, < 39.8.1 | ≥ 40.0.0-alpha.1, < 40.8.1 | ≥ 41.0.0-alpha.1, < 41.0.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-mwmh-mq4g-g6gr","label":"github.com/electron/electron/security/advisories/GHSA-mwmh-mq4g-g6gr","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34773","label":"nvd.nist.gov/vuln/detail/CVE-2026-34773","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-03T23:50:42.168Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-06T16:03:54.878Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:34:01.375Z","stale":false,"partial":false}}