Security Resilience

CVE-2026-34768

Electronjs Electron ≤ 38.8.6

Published
04 April 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 3.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0015 2th percentile
Risk Priority 30 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-34768 is a low-severity Unquoted Search Path or Element (CWE-428) vulnerability in Electronjs Electron. Its CVSS base score is 3.9 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-34768 is a vulnerability in the Electron framework, which enables development of cross-platform desktop applications using JavaScript, HTML, and CSS. On Windows systems, versions prior to 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8 improperly handle the `app.setLoginItemSettings({openAtLogin: true})` function by writing the application's executable path to the Run registry key without proper quoting. This issue, classified under CWE-428 (Unquoted Search Path or Element), affects applications that enable auto-start at login when installed in paths containing spaces.

Exploitation requires a local attacker with high privileges (PR:H) and write access to an ancestor directory of the application's installation path. On default Windows installations, standard system directories are protected from writes by standard users, limiting feasibility to non-standard installation locations. Successful exploitation allows the attacker to substitute a malicious executable that runs at user login instead of the intended application, potentially leading to limited confidentiality, integrity, and availability impacts as scored by CVSS 3.9 (AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L).

The Electron security advisory at https://github.com/electron/electron/security/advisories/GHSA-jfqx-fxh3-c62j confirms the issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8, recommending immediate upgrades for affected applications to mitigate the unquoted path risk.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.009 Path Interception by Unquoted Path Stealth
Adversaries may execute their own malicious payloads by hijacking vulnerable file path references.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-34781Same product: Electronjs Electron
CVE-2026-34771Same product: Electronjs Electron
CVE-2026-34769Same product: Electronjs Electron
CVE-2026-34770Same product: Electronjs Electron
CVE-2026-34764Same product: Electronjs Electron
CVE-2026-34772Same product: Electronjs Electron
CVE-2026-34774Same product: Electronjs Electron
CVE-2026-34776Same product: Electronjs Electron
CVE-2023-39956Same product: Electronjs Electron
CVE-2026-34779Same product: Electronjs Electron

Affected Assets

electronjs
electron
41.0.0 · ≤ 38.8.6 · 39.0.0 — 39.8.1 · 40.0.0 — 40.8.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover unquoted search paths through static analysis or dynamic test cases.

Documented development standards and tools can mandate proper quoting and escaping of path elements.

Engineering principles can require safe construction and quoting of search paths and command elements.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent path-handling flaws such as unquoted elements during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect unquoted search-path issues before deployment.

finds

A.5.22 monitors supplier service delivery, reviews audit reports and manages supplier relationships; it does not inspect code, exercise software at runtime, or scan for implementation defects, so it has no reach to discover CWE-428, a code-level unquoted-path weakness introduced at implementation.

prevents

Secure coding standards directly mandate quoting search paths and avoiding unsafe path construction.

blocks

A.8.7 can block some exploitation by allowlisting or quarantining attacker-supplied executables, but it does not neutralize the unquoted-path weakness and can miss or permit non-malicious payloads.

References