CVE catalog

CVE-2026-34768

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

[CVE catalog]

Severity
Low · CVSS 3.9CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 25, 2026

A flaw was found in Electron. On Windows, when an application is installed to a path containing spaces and configured to open at login, the executable path is written to the system's Run registry key without proper quoting. An attacker with write access to an ancestor directory can exploit this to cause a different, malicious executable to run at login instead of the intended application, potentially leading to arbitrary code execution. Exploitation typically requires a non-standard installation location. electron: Electron: Arbitrary code execution via unquoted path in Run registry key The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
CpeelectronNot reported38.8.6fixed
CpeelectronNot reported39.8.1fixed
CpeelectronNot reported40.8.0fixed
CpeelectronNot reportedNot reportedunknown
NpmelectronNot reported38.8.6fixed
NpmelectronNot reported39.8.1fixed
NpmelectronNot reported40.8.0fixed
NpmelectronNot reported41.0.0-beta.8fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpeelectroncpeNot reported38.8.6Not reportedNot reportedNot reported
CpeelectroncpeNot reported39.8.1Not reportedNot reportedNot reported
CpeelectroncpeNot reported40.8.0Not reportedNot reportedNot reported
NpmelectronnpmNot reported38.8.6Not reportedNot reportedNot reported
NpmelectronnpmNot reported39.8.1Not reportedNot reportedNot reported
NpmelectronnpmNot reported40.8.0Not reportedNot reportedNot reported
NpmelectronnpmNot reported41.0.0-beta.8Not reportedNot reportedNot reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References