Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference

CVSS 3.1 7.8 HIGHEUVD CVSS 3.1 7.8 CVSS 3.1 · [email protected] · Secondary 7.7 HIGHCVSS 3.1 · [email protected] · Primary 8.8 HIGHCVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary 7.7 HIGHCVSS_V3 Publisher rating HIGHFixed by electron 38.8.6Fixed by electron 39.8.0Fixed by electron 40.7.0Fixed by electron 41.0.0-beta.8KEV status unknown

cve-program · CVE-2026-34769

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-18937

Published

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.

Read the publisher's advisory

nvd · CVE-2026-34769

Published

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.

Read the publisher's advisory

osv · GHSA-9wfr-w7mm-pc7f

Published

### Impact 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. ### Workarounds Do not spread untrusted input into `webPreferences`. Use an explicit allowlist of permitted preference keys when constructing `BrowserWindow` or `webContents` options from external configuration. ### Fixed Versions * `41.0.0-beta.8` * `40.7.0` * `39.8.0` * `38.8.6` ### For more information If there are any questions or comments about this advisory, send an email to [[email protected]](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-34769

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "electron",
                    "product": "electron",
                    "versions": [
                        {
                            "version": "< 38.8.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 39.0.0-alpha.1, < 39.8.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 40.0.0-alpha.1, < 40.7.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 41.0.0-alpha.1, < 41.0.0-beta.8",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-18937

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 3, 2026, 11:33:55 PM

dateUpdated: Jul 15, 2026, 1:03:53 AM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-34769

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-88 · CWE-912

Original publisher date fields

published: 2026-04-04T00:16:17.657

lastModified: 2026-07-24T22:10:00.140

14 source CPE criteria · context only
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-9wfr-w7mm-pc7f

Published

electron

npm

SEMVER · introduced 0 → fixed 38.8.6

electron

npm

SEMVER · introduced 39.0.0-alpha.1 → fixed 39.8.0

electron

npm

SEMVER · introduced 40.0.0-alpha.1 → fixed 40.7.0

electron

npm

SEMVER · introduced 41.0.0-alpha.1 → fixed 41.0.0-beta.8

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 02:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current