Read the docs
TI-2026-27012 Aliases CVE-2026-34768GHSA-jfqx-fxh3-c62j

Electron: Unquoted executable path in app.setLoginItemSettings on Windows

Priority LOW 33CWE-428Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-428.

Summary

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.0, and 41.0.0-beta.8, on Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting. If the app is installed to a path containing spaces, an attacker with write access to an ancestor directory may be able to cause a different executable to run at login instead of the intended app. On a default Windows install, standard system directories are protected against writes by standard users, so exploitation typically requires a non-standard install location. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00132 2nd percentileScored 2026-11-07
Fix Fixed electron (electron): 38.8.6, 39.8.1, 40.8.0 +1electron (npm): 38.8.6, 39.8.1, 40.8.0 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

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 38.8.6; 39.0.0-alpha.1 to before 39.8.1; 40.0.0-alpha.1 to before 40.8.0; 41.0.0-alpha.1 to before 41.0.0-beta.838.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8Patch availableCNA
—electron (npm)before 38.8.638.8.6Patch availableGHSA-jfqx-fxh3-c62j
—electron (npm)39.0.0-alpha.1 to before 39.8.139.8.1Patch availableGHSA-jfqx-fxh3-c62j
—electron (npm)40.0.0-alpha.1 to before 40.8.040.8.0Patch availableGHSA-jfqx-fxh3-c62j
—electron (npm)41.0.0-alpha.1 to before 41.0.0-beta.841.0.0-beta.8Patch availableGHSA-jfqx-fxh3-c62j
  • electron Vendorelectron Affected before 38.8.6; 39.0.0-alpha.1 to before 39.8.1; 40.0.0-alpha.1 to before 40.8.0; 41.0.0-alpha.1 to before 41.0.0-beta.8 Fixed in 38.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8 Patch available CNA
  • electron (npm) Vendor— Affected before 38.8.6 Fixed in 38.8.6 Patch available GHSA-jfqx-fxh3-c62j
  • electron (npm) Vendor— Affected 39.0.0-alpha.1 to before 39.8.1 Fixed in 39.8.1 Patch available GHSA-jfqx-fxh3-c62j
  • electron (npm) Vendor— Affected 40.0.0-alpha.1 to before 40.8.0 Fixed in 40.8.0 Patch available GHSA-jfqx-fxh3-c62j
  • electron (npm) Vendor— Affected 41.0.0-alpha.1 to before 41.0.0-beta.8 Fixed in 41.0.0-beta.8 Patch available GHSA-jfqx-fxh3-c62j

CPE configurations NVD · 14

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*before 38.8.6; 39.0.0 to before 39.8.1; 40.0.0 to before 40.8.0VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*41.0.0 alpha1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*41.0.0 alpha2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*41.0.0 alpha3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*41.0.0 alpha4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*41.0.0 alpha5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*41.0.0 alpha6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*41.0.0 beta1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*41.0.0 beta2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*41.0.0 beta3VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 38.8.6; 39.0.0 to before 39.8.1; 40.0.0 to before 40.8.0 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:* Versions 41.0.0 alpha1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:* Versions 41.0.0 alpha2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:* Versions 41.0.0 alpha3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:* Versions 41.0.0 alpha4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:* Versions 41.0.0 alpha5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:* Versions 41.0.0 alpha6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:* Versions 41.0.0 beta1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:* Versions 41.0.0 beta2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:* Versions 41.0.0 beta3 Vulnerable ·Electronjs
Show 4 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*41.0.0 beta4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*41.0.0 beta5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*41.0.0 beta6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*41.0.0 beta7VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:* Versions 41.0.0 beta4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:* Versions 41.0.0 beta5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:* Versions 41.0.0 beta6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:* Versions 41.0.0 beta7 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 38.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8
  • Fix · GHSA-jfqx-fxh3-c62j electron (npm) Fixed in 38.8.6 Advisory →
  • Fix · GHSA-jfqx-fxh3-c62j electron (npm) Fixed in 39.8.1 Advisory →
  • Fix · GHSA-jfqx-fxh3-c62j electron (npm) Fixed in 40.8.0 Advisory →
  • Fix · GHSA-jfqx-fxh3-c62j electron (npm) Fixed in 41.0.0-beta.8 Advisory →

Vendor assessments

Red Hat

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

Not affected: 2 products
  • Red Hat Build of Podman Desktop
  • Red Hat Build of Podman Desktop - Tech Preview

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34768
  2. 2026-10-03 Alias added: GHSA-jfqx-fxh3-c62j

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