Skip to main content
VulnerabilityPublished Updated

CVE-2026-45149: Node brace expansion · The brace-expansion library generates arbitrary strings containing a common

Affects node-brace-expansionSource GCVE Database

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

Not known to be exploited · CVSS 7.5 High · fixed in 5.0.6 : 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.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.6
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 29 May 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 25.10node-brace-expansionpkg:deb/ubuntu/node-brace-expansion?arch=source&distro=questingOther threatsAffected
  • =2.0.1+~1.1.0-1
  • =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–

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

Description

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.

References

Community reviews

Loading reviews…