
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34769 is a renderer command-line switch injection vulnerability in the Electron framework, classified as High severity. It stems from an undocumented commandLineSwitches webPreference that allows arbitrary switches to be appended to the renderer process command line. Affected versions include all Electron releases prior to 38.8.6, 39.x before 39.8.0, 40.x before 40.7.0, and 41.0.0 pre-releases before 41.0.0-beta.8. The vulnerability was published on April 2–3, 2026, and carries a CVSS v3.1 score of 7.7–8.8 (High), depending on the scoring authority (GitHub Advisory, Electron Advisory).
The root cause is the existence of an undocumented commandLineSwitches key within Electron's webPreferences API (CWE-912: Hidden Functionality), combined with insufficient argument delimiting that allows injected values to be passed directly to the Chromium renderer process (CWE-88: Argument Injection). Applications that construct webPreferences objects by spreading or merging untrusted external configuration — rather than using a fixed, hardcoded object — are vulnerable, as an attacker-controlled configuration can include the commandLineSwitches key with malicious switch values such as --disable-web-security or --no-sandbox. This effectively bypasses Electron's renderer sandboxing and web security controls. Applications using hardcoded webPreferences objects are not affected (GitHub Advisory, Electron Advisory).
Successful exploitation allows an attacker to disable renderer sandboxing or web security controls in affected Electron applications, enabling code execution outside the renderer sandbox with reduced security restrictions. This can lead to full compromise of confidentiality, integrity, and availability of the affected application and potentially the underlying host system. The scope change (S:C in the CVSS vector) indicates that a compromised renderer process can impact resources beyond its own security boundary, increasing the risk of lateral movement or data exfiltration (Electron Advisory, GitHub Advisory).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.013% (2nd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction and that the target application dynamically constructs webPreferences from untrusted input, limiting the attack surface to a specific subset of Electron applications.
webPreferences by spreading or merging external/untrusted configuration objects rather than using a hardcoded object.commandLineSwitches key with values designed to disable security controls, for example: { "commandLineSwitches": ["--disable-web-security", "--no-sandbox"] }.webPreferences object passed to BrowserWindow or webContents.BrowserWindow or webContents instance using the poisoned webPreferences, which will append the injected switches to the renderer process command line.--disable-web-security, --no-sandbox, --allow-running-insecure-content, or other security-disabling Chromium flags.commandLineSwitches key in webPreferences sections.Electron has released patched versions: 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8 — upgrading to one of these is the recommended remediation. As a workaround for applications that cannot immediately upgrade, developers should avoid spreading untrusted input directly into webPreferences and instead use an explicit allowlist of permitted preference keys when constructing BrowserWindow or webContents options from external configuration. Applications using fixed, hardcoded webPreferences objects are not affected and require no immediate action (Electron Advisory, GitHub Advisory).
The advisory was published by Electron maintainer VerteDinde on April 2, 2026, and subsequently reviewed and published to the GitHub Advisory Database on April 3, 2026. IBM issued a security bulletin noting that MongoDB Enterprise Advanced (with IBM) is also affected by this CVE among others (IBM Advisory). No significant broader media coverage or notable researcher commentary beyond the official advisory has been identified.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."