Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, the check Electron uses on macOS to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable fuse-based hardening restricting ELECTRON_RUN_AS_NODE and NODE_OPTIONS to same-signed parents rely on this check, and a local attacker could bypass it and run code inside the signed app, inheriting its TCC permissions and keychain access. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Published: 2026-08-05
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Electron implements a macOS security check that verifies a launched application is started by a parent process of the same code signature. Prior to versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0‑beta.3, this check could be bypassed by a local process. By spoofing the parent signature, a local attacker can cause a signed Electron application to execute code with the application's entitlements, gaining file‑system access, keychain secrets, and other macOS protection‑domain privileges. The vulnerability is a CWE‑367: Inadequate Verification of Process Credentials. The impact is confined to local attackers who can run code inside the signed app without additional user interaction.

Affected Systems

All macOS Electron applications built with Electron versions earlier than 39.8.8, 40.9.0, 41.2.1, or 42.0.0‑beta.3 are affected. The issue arises only on macOS, where the same‑signed parent check is enforced by Electron's runtime.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, reflecting that exploitation requires local access and knowledge of the target’s Electron runtime. EPSS is not available, suggesting the general exploit probability is not quantified, and the vulnerability is not listed in CISA KEV. The attack vector is local; a local attacker must have the ability to run code on the target machine, which may be feasible in environments with compromised credentials or physical access. If an attacker can run an arbitrary local process, they can bypass the signature check, launch the target application, and execute code within its privilege context.

Generated by OpenCVE AI on August 5, 2026 at 16:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Electron to version 39.8.8, 40.9.0, 41.2.1, or 42.0.0‑beta.3 or later to restore proper same‑signed parent validation.
  • Rebuild and redistribute all affected desktop applications using the patched Electron runtime.
  • If an immediate upgrade is not possible, remove any configuration that relies solely on the same‑signed parent check (e.g., fuse‑based hardening) or enforce stricter sandboxing and code‑signing verification for the app.

Generated by OpenCVE AI on August 5, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jm7p-cc5g-qwxx Electron: Parent process code-sign check is spoofable
History

Wed, 05 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Wed, 05 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, the check Electron uses on macOS to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable fuse-based hardening restricting ELECTRON_RUN_AS_NODE and NODE_OPTIONS to same-signed parents rely on this check, and a local attacker could bypass it and run code inside the signed app, inheriting its TCC permissions and keychain access. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Title Electron: Parent process code-sign check is spoofable
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-06T03:55:28.858Z

Reserved: 2026-08-04T19:50:27.328Z

Link: CVE-2026-70597

cve-icon Vulnrichment

Updated: 2026-08-05T15:33:54.820Z

cve-icon NVD

Status : Received

Published: 2026-08-05T16:17:03.603

Modified: 2026-08-06T05:17:07.883

Link: CVE-2026-70597

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T17:00:12Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition