Skip to content
RedCVE

CVE-2026-102278Juliangruber Brace-expansion uncontrolled resource consumption

juliangruberPublished:

CVSS score

7.5

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.49%

0.49% chance of exploitation in the next 30 days, higher than 43.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting level at comma-member and single-set expansion sites, exhausting the native stack before output limits can apply and potentially terminating the Node.js process. expand_ performs uncontrolled recursion for nested brace alternatives and single-part sets. deeply nested brace groups supplied as an untrusted pattern. expand_ is affected. expand is affected. Comma members is affected. Single set is affected. native stack exhaustion during nested sub-expansion. process-terminating denial of service. This issue is fixed in versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running juliangruber Brace-expansion and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Brace-expansion to 1.1.20, 2.1.6, 3.0.8, 5.0.11 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
juliangruber Brace-expansion>= 4.0.0, < 5.0.11 · >= 3.0.0, < 3.0.8 · >= 2.0.0, < 2.1.6 · < 1.1.20

Weakness

  • CWE-400 uncontrolled resource consumption
  • CWE-674 uncontrolled recursion

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-102278 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-102278?

CVE-2026-102278 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

Juliangruber Brace-expansion (>= 4.0.0, < 5.0.11; >= 3.0.0, < 3.0.8; >= 2.0.0, < 2.1.6; < 1.1.20)

Is there a patch for CVE-2026-102278?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.