PT-2026-41726 · Npm · Brace-Expansion

Published

2026-05-18

·

Updated

2026-05-18

·

CVE-2026-45149

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions brace-expansion (affected versions not specified)
Description A Denial of Service (DoS) issue exists where the max option is applied too late during the expansion of large numeric ranges. For example, expanding a range like {1..10000000} causes the sequence generation loop to create all intermediate elements before applying the limit. This results in excessive memory allocation and processing time, even when a small max value is specified.
Recommendations Ensure the string to be expanded does not contain more values than the desired max item count.

Fix

Resource Exhaustion

Weakness Enumeration

Related Identifiers

CVE-2026-45149
GHSA-JXXR-4GWJ-5JF2

Affected Products

Brace-Expansion