Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-34768— Electron: Unquoted executable path in app.setLoginItemSettings on Windows

CVSS 3.9 · Low EPSS 0.01% · P0
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-34768

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Electron: Unquoted executable path in app.setLoginItemSettings on Windows
Source: NVD (National Vulnerability Database)
Vulnerability 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.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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
未经引用的搜索路径或元素
Source: NVD (National Vulnerability Database)
Vulnerability Title
Electron 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Electron是Electron开源的一个用户编写跨平台桌面应用的 JavaScript 框架。该框架基于 nodejs 和 Chromium 可以使用HTML,CSS实现跨平台桌面应用的编写。 Electron 38.8.6之前版本、39.8.1之前版本、40.8.0之前版本和41.0.0-beta.8之前版本存在代码问题漏洞,该漏洞源于在Windows上app.setLoginItemSettings({openAtLogin: true})写入可执行路径时未加引号,可能导致登录时运行不同的可执行文
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
electronelectron < 38.8.6 -

II. Public POCs for CVE-2026-34768

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34768

登录查看更多情报信息。

Same Patch Batch · electron · 2026-04-03 · 13 CVEs total

CVE-2026-347748.1 HIGHElectron: Use-after-free in offscreen child window paint callback
CVE-2026-347697.8 HIGHElectron: Renderer command-line switch injection via undocumented commandLineSwitches webP
CVE-2026-347717.5 HIGHElectron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permis
CVE-2026-347707.0 HIGHElectron: Use-after-free in PowerMonitor on Windows and macOS
CVE-2026-347756.8 MEDIUMElectron: nodeIntegrationInWorker not correctly scoped in shared renderer processes
CVE-2026-347675.9 MEDIUMElectron: HTTP Response Header Injection in custom protocol handlers and webRequest
CVE-2026-347785.9 MEDIUMElectron: Service worker can spoof executeJavaScript IPC replies
CVE-2026-347725.8 MEDIUMElectron: Use-after-free in download save dialog callback
CVE-2026-347775.4 MEDIUMElectron: Incorrect origin passed to permission request handler for iframe requests
CVE-2026-347765.3 MEDIUMElectron: Out-of-bounds read in second-instance IPC on macOS and Linux
CVE-2026-347734.7 MEDIUMElectron: Registry key path injection in app.setAsDefaultProtocolClient on Windows
CVE-2026-347663.3 LOWElectron: USB device selection not validated against filtered device list

IV. Related Vulnerabilities

V. Comments for CVE-2026-34768

No comments yet


Leave a comment