SCA: security update for electron (GHSA-5c9j-mhmv-5xgx)

medium Tenable Cloud Security Plugin ID 445698

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.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing
embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file
extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path
to open a different file than the one that passed validation. Apps are only affected if they pass paths
derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem
check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1. (CVE-2026-70603)

Solution

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

See Also

https://github.com/advisories/GHSA-5c9j-mhmv-5xgx

Plugin Details

Severity: Medium

ID: 445698

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/5/2026

Updated: 8/5/2026

Risk Information

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2026-70603

CVSS v3

Risk Factor: Medium

Base Score: 6

Temporal Score: 5.2

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/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-70603