Skip to main content
VulnerabilityPublished Updated

CVE-2026-14257: Node brace expansion · brace-expansion through 5.0.7 is vulnerable to denial of service via memory

Affects node-brace-expansionSource GCVE Database

0
Compare
Authoritative record:CVE-2026-14257· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 5.0.8 : patch node-brace-expansion soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=stonkingOther threatsAffected
  • 2.0.1+~1.1.0-2 – 2.1.4+~1.1.2-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=resoluteOther threatsAffected
  • =2.0.1+~1.1.0-2
Fixed in–
Ubuntu 24.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=nobleOther threatsAffected
  • =2.0.1-2
  • =2.0.1+~1.1.0-1
Fixed in–
Ubuntu 22.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=jammyOther threatsAffected
  • =2.0.0-1
  • =2.0.1-1
Fixed in–
Ubuntu 20.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=focalOther threatsAffected
  • =1.1.8-1
  • =1.1.11-1
Fixed in–
Ubuntu 18.04 LTSnode-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=bionicOther threatsAffected
  • =1.1.8-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…