SCA: security update for electron (GHSA-h7rp-cf8h-j98x)

high Tenable Cloud Security Plugin ID 445701

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS.
Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5, apps that expose Promise-returning functions to web
content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could
obtain access to the isolated preload world and, through it, every capability the preload script has. In
renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access. Apps
are affected if they expose Promise-returning functions via contextBridge, the standard pattern for
wrapping ipcRenderer.invoke, in windows that load untrusted content. This issue is fixed in versions
39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5. (CVE-2026-70601)

Solution

Update the electron library and its related packages to version 39.8.9 or later.

See Also

https://github.com/advisories/GHSA-h7rp-cf8h-j98x

Plugin Details

Severity: High

ID: 445701

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/5/2026

Updated: 8/5/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:P/A:N

CVSS Score Source: CVE-2026-70601

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/5/2026

Vulnerability Publication Date: 8/5/2026

Reference Information

CVE: CVE-2026-70601

cwe: CWE-693