SCA: security update for electron (GHSA-532v-xpq5-8h95)

high Tenable Cloud Security Plugin ID 439789

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 versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows
via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed
while a child window remains open, subsequent paint frames on the child dereference freed memory, which
may lead to a crash or memory corruption. Apps are only affected if they use offscreen rendering
(webPreferences.offscreen: true) and their setWindowOpenHandler permits child windows. Apps that do not
use offscreen rendering, or that deny child windows, are not affected. This issue has been patched in
versions 39.8.1, 40.7.0, and 41.0.0. (CVE-2026-34774)

Solution

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

See Also

https://github.com/advisories/GHSA-532v-xpq5-8h95

Plugin Details

Severity: High

ID: 439789

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.94

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-34774

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/3/2026

Vulnerability Publication Date: 4/3/2026

Reference Information

CVE: CVE-2026-34774

cwe: CWE-416