CVE catalog

CVE-2026-34769

Electron is a framework for writing cross-platform…

[CVE catalog]

A flaw was found in Electron, a framework for building desktop applications. This vulnerability arises from an undocumented `commandLineSwitches` webPreference that allows arbitrary command-line switches to be appended to the renderer process. A remote attacker could exploit this by providing malicious input to applications that construct `webPreferences` from untrusted sources. Successful exploitation could disable critical security controls like sandboxing, potentially leading to arbitrary code execution, privilege escalation, or sensitive information disclosure. Electron: Electron: Arbitrary code execution and security bypass via undocumented command-line switches The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Severity
High · CVSS 7.7CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 27, 2026

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [],
  "fixed_versions": [],
  "distribution_packages": [
    {
      "name": "electron",
      "ecosystem": "cpe",
      "fixed_version": "38.8.6"
    },
    {
      "name": "electron",
      "ecosystem": "cpe",
      "fixed_version": "39.8.0"
    },
    {
      "name": "electron",
      "ecosystem": "cpe",
      "fixed_version": "40.7.0"
    },
    {
      "name": "electron",
      "ecosystem": "cpe",
      "fixed_version": ""
    },
    {
      "name": "electron",
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "38.8.6"
            }
          ]
        }
      ],
      "ecosystem": "npm",
      "fixed_version": "38.8.6"
    },
    {
      "name": "electron",
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "39.0.0-alpha.1"
            },
            {
              "fixed": "39.8.0"
            }
          ]
        }
      ],
      "ecosystem": "npm",
      "fixed_version": "39.8.0"
    },
    {
      "name": "electron",
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "40.0.0-alpha.1"
            },
            {
              "fixed": "40.7.0"
            }
          ]
        }
      ],
      "ecosystem": "npm",
      "fixed_version": "40.7.0"
    },
    {
      "name": "electron",
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "41.0.0-alpha.1"
            },
            {
              "fixed": "41.0.0-beta.8"
            }
          ]
        }
      ],
      "ecosystem": "npm",
      "fixed_version": "41.0.0-beta.8"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

Observed:

References