Skip to main content
VulnerabilityPublished

CVE-2026-33750: juliangruber brace-expansion · Uncontrolled Resource Consumption

Affects juliangruber brace-expansionSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium · fixed in 5.0.5 : update juliangruber brace-expansion when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.5, 3.0.2, 2.0.3 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Mar 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 30 Oct 2026.

What to do

Upgrade brace-expansion to 5.0.5, 3.0.2, 2.0.3 or 1.1.13; brace-expansion to 1.1.13.

Affected software

ProductAffectedFixed in
juliangruberbrace-expansionAffected
  • >=4.0.0 <5.0.5
Fixed in
  • 5.0.5
juliangruberbrace-expansionAffected
  • >=3.0.0 <3.0.2
Fixed in
  • 3.0.2
juliangruberbrace-expansionAffected
  • >=2.0.0 <2.0.3
Fixed in
  • 2.0.3
juliangruberbrace-expansionAffected
  • <1.1.13
Fixed in
  • 1.1.13
npmbrace-expansionpkg:npm/brace-expansionOther threatsAffected
  • <1.1.13
Fixed in
  • 1.1.13

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

AI-suggested

  1. Upgrade all instances of the juliangruber brace-expansion library to versions 5.0.5, 3.0.2, 2.0.3, or 1.1.13 or later, depending on the major version in use.
  2. Implement input validation and sanitization to detect and reject brace patterns with zero step values before passing them to the expand() function.
  3. Employ runtime monitoring and resource usage limits (e.g., CPU and memory quotas) on processes that use this library to detect and mitigate potential hangs or resource exhaustion.
  4. Review and audit all code paths that utilize brace-expansion to ensure no untrusted input can reach the vulnerable function without validation.
  5. Incorporate fuzz testing or static analysis tools to detect similar uncontrolled resource consumption patterns in dependencies.
  6. Educate developers about the risks of uncontrolled resource consumption vulnerabilities and encourage secure coding practices when handling user input.

Description

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13, a brace pattern with a zero step value (e.g., `{1..2..0}`) causes the sequence generation loop to run indefinitely, making the process hang for seconds and allocate heaps of memory. Versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13 fix the issue. As a workaround, sanitize strings passed to `expand()` to ensure a step value of `0` is not used.

References

Community reviews

Loading reviews…