{"id":"CVE-2026-34768","published":"2026-04-03T23:44:55Z","modified":"2026-04-06T19:08:58Z","title":"Electron: Unquoted executable path in app.setLoginItemSettings on Windows","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.03048,"provenance":"source"},"cwes":[{"id":"CWE-428","name":"Unquoted Search Path or Element"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-jfqx-fxh3-c62j","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":0.61},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 38.8.6",">= 39.0.0-alpha.1, < 39.8.1",">= 40.0.0-alpha.1, < 40.8.0",">= 41.0.0-alpha.1, < 41.0.0-beta.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T19:08:45.331606Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<38.8.6",">=39.0.0-alpha.1, <39.8.1",">=40.0.0-alpha.1, <40.8.0",">=41.0.0-alpha.1, <41.0.0-beta.8"],"patched":["38.8.6","39.8.1","40.8.0","41.0.0-beta.8"],"from":["GHSA-jfqx-fxh3-c62j"],"provenance":"source"}],"summary":{"text":"Electron's app.setLoginItemSettings({openAtLogin: true}) API on Windows writes the application's executable path to the Run registry key without quoting it, creating an unquoted search path flaw in the electron framework. An attacker who has write access to a directory above the installed app, which is typically only possible when the app is installed to a non-standard location containing spaces, could cause a different executable to launch at login instead of the intended app, and exploitation requires local access and high privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:00Z"},"euvd":{"id":"EUVD-2026-18935","exploited":false,"provenance":"source"}}