Security Resilience

CVE-2026-34769

Electronjs Electron ≤ 38.8.6

Published
04 April 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 7.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0042 28th percentile
Risk Priority 55 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-34769 is a high-severity Argument Injection (CWE-88) vulnerability in Electronjs Electron. Its CVSS base score is 7.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 28th 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 CM-2 (Baseline Configuration) and CM-7 (Least Functionality) — 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-34769 affects the Electron framework, which enables development of cross-platform desktop applications using JavaScript, HTML, and CSS. In versions prior to 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, an undocumented webPreference named commandLineSwitches permits arbitrary switches to be appended to the renderer process command line. This vulnerability impacts Electron-based applications that construct webPreferences by spreading untrusted configuration objects, without implementing an allowlist, potentially enabling attackers to inject switches that disable critical protections such as renderer sandboxing or web security controls. Applications using fixed, hardcoded webPreferences remain unaffected.

Exploitation requires local access (AV:L), high attack complexity (AC:H), no privileges (PR:N), and user interaction (UI:R), with a CVSS v3.1 base score of 7.7 indicating high severity due to changed scope (S:C) and high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). An attacker could supply malicious configuration data—such as through external inputs or tampered files—to an affected application, tricking a user into loading it. Successful exploitation allows bypassing sandboxing and security features in the renderer process, potentially leading to arbitrary code execution or data exfiltration within the application's context. The issue maps to CWE-88 (Improper Neutralization of Argument Delimiters in a Command) and CWE-912 (Hidden Functionality).

The Electron security advisory (GHSA-9wfr-w7mm-pc7f) confirms patches in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, recommending that developers avoid spreading untrusted objects into webPreferences and instead use hardcoded configurations or strict allowlists for any dynamic inputs to prevent switch injection.

OWASP Top 10 for Web (2025)

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.0, 40.7.0, and 41.0.0-beta.8, an undocumented commandLineSwitches webPreference allowed arbitrary switches to be appended to the renderer process command line. Apps that…

more

construct webPreferences by spreading untrusted configuration objects may inadvertently allow an attacker to inject switches that disable renderer sandboxing or web security controls. Apps are only affected if they construct webPreferences from external or untrusted input without an allowlist. Apps that use a fixed, hardcoded webPreferences object are not affected. This issue has been patched in versions 38.8.6, 39.8.0, 40.7.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.
T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
T1105 Ingress Tool Transfer Command And Control
Adversaries may transfer tools or other files from an external system into a compromised environment.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

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

Affected Assets

electronjs
electron
41.0.0 · ≤ 38.8.6 · 39.0.0 — 39.8.0 · 40.0.0 — 40.7.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Maintaining and reviewing a documented baseline configuration allows comparison that reveals any functionality absent from the approved specification.

Least-functionality configuration explicitly prohibits or restricts any capability not required by the approved baseline, blocking hidden additions.

Developer testing can discover argument-injection flaws in command-construction code but does not stop their introduction.

Input validation directly stops construction of command strings containing unneutralized delimiters or injected arguments.

Documented development processes and standards require all functionality to be specified and visible, structurally preventing undocumented hidden features.

An SDLC that incorporates security engineering principles mandates that all product functions be part of the approved specification.

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 require proper input validation and command construction to prevent argument injection.

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 can detect argument injection but does not prevent it at the source.

blocks

Change management processes can catch unauthorized additions but do not inherently prevent hidden functionality from being introduced.

prevents

Training developers about secure command construction and argument handling reduces argument injection instances, but the practice is fallible and most such flaws still slip through, matching the same partial rung A.6.3 and A.8.28 hold on other developer-introduced injection flaws.

finds

Monitoring activities can detect anomalous behavior from hidden functions but do not eliminate the weakness.

prevents

Secure coding standards explicitly require proper neutralization of command arguments, directly eliminating CWE-88.

prevents

A.8.30 carries its effect through the secure-development practices (8.25-8.29) its contract requires of the supplier, and argument injection is an ordinary software implementation weakness those practices address; the clause sits at its declared ceiling of `partial` because the underlying practices are fallible and the clause depends on them being implemented by the supplier.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-912, a class-level weakness, and none of its children carries one either.

References