SCA: security update for brace-expansion (GHSA-mh99-v99m-4gvg)

high Tenable Cloud Security Plugin ID 445572

Description

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

- brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand()
function limits the number of results with a max option (default 100,000) but does not bound the length of
each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit
while making each result progressively longer, so total memory scales with both count and string length
until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input
('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced
strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can
be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds
accumulated output and intermediate arrays. (CVE-2026-14257)

Solution

Update the brace-expansion library and its related packages to version 1.1.17 or later.

See Also

https://github.com/advisories/GHSA-mh99-v99m-4gvg

Plugin Details

Severity: High

ID: 445572

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/1/2026

Updated: 8/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.95

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-14257

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: 7/24/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-14257