CVE-2026-34769 json
Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference
published 2026-04-03 7 mo ago modified 2026-07-24 3 mo ago also GHSA-9wfr-w7mm-pc7f , EUVD-2026-18937
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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 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.
Patch / fix
- npm electron 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8
- electronjs electron 38.8.6, 39.8.0, 40.7.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34769 updated cvss 7.7
Electron: Electron: Arbitrary code execution and security bypass via undocumented command-line switches
-
Red Hat Build of Podman Desktop podman-desktop-macos-1-0, podman-desktop-windows-1-0 Red Hat Build of Podman Desktop - Tech Preview rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <38.8.6 >=39.0.0-alpha.1, <39.8.0 >=40.0.0-alpha.1, <40.7.0 >=41.0.0-alpha.1, <41.0.0-beta.8 |
38.8.6 39.8.0 40.7.0 41.0.0-beta.8 |
Affected products
- electron electron
- Red Hat Red Hat Build of Podman Desktop
- Red Hat Red Hat Build of Podman Desktop - Tech Preview
Classification
References
-
github.com
/electron/electron/security/advisories/GHSA-9wfr-w7mm-pc7f
web, vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-34769
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2455004
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-34769.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-34769
advisory
-
github.com
/electron/electron
package
Sources
- CVE List CVE-2026-34769
- GitHub Advisory GHSA-9wfr-w7mm-pc7f
- NVD CVE-2026-34769
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.