LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This affects some Electron desktop apps, not every Electron installation. If an app lets untrusted configuration flow into webPreferences, an attacker could add renderer command-line switches that weaken sandboxing or web security. Electron has fixed the issue in supported patched versions.

Executive priority

Treat as high priority for organizations building or distributing Electron desktop apps, especially configurable clients. Patch internal builds promptly and require vendor statements for third-party Electron apps. Broad emergency response is not supported by the provided evidence without confirmed exploitation.

Technical view

An undocumented commandLineSwitches webPreference allowed arbitrary renderer process switches before Electron 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8. Exposure depends on applications spreading external or untrusted objects into webPreferences without an allowlist. Fixed, hardcoded webPreferences objects are not affected.

Likely exposure

Likely limited to Electron applications that accept plugin, workspace, user, or remote configuration and merge it into webPreferences. Organizations using packaged Electron apps need vendor confirmation; internally built Electron apps should be reviewed directly. Hardcoded webPreferences materially reduce exposure.

Exploitation context

The source bundle does not show KEV listing or confirmed active exploitation. CVSS indicates local attack vector, high complexity, no privileges required, and user interaction required. The practical risk is highest where attacker-controlled configuration can influence Electron window creation.

Researcher notes

Focus triage on data flow into webPreferences, not just Electron version presence. The vulnerable pattern is untrusted object spreading or equivalent dynamic construction. The provided sources identify affected Electron ranges and patched versions, but do not provide product-specific downstream exposure.

Mitigation direction

  • Upgrade Electron to 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8, or later.
  • Audit webPreferences construction and remove spreading of untrusted configuration objects.
  • Use an explicit allowlist for accepted webPreferences keys.
  • Reject or ignore commandLineSwitches in externally supplied configuration.
  • Ask third-party Electron application vendors for CVE-2026-34769 status.

Validation and detection

  • Inventory Electron versions used by internal and packaged desktop applications.
  • Review BrowserWindow creation paths for external data reaching webPreferences.
  • Confirm webPreferences are fixed or built from an explicit allowlist.
  • Check dependency lockfiles and packaged artifacts for patched Electron versions.
  • Document vendor responses for third-party Electron-based applications.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-88: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-912: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-34769 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H16GitHub_M
7.7CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H16redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2026-34769Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPElectron: Electron: Arbitrary code execution and security bypass via undocumented command-line switches
other:Red Hat severity ratingcvssV3_1
  • 2026-04-04T00:01:24.619Z: Reported to Red Hat.
  • 2026-04-03T23:33:55.952Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
electronelectron< 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.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-88 · source CWE mapping

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-912 · source CWE mapping

Hidden Functionality

Hidden Functionality represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.