Description
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9, expand() does not apply maxLength while constructing comma-alternative intermediate arrays or padded sequences, allowing attacker-controlled input to exhaust memory or block the event loop. The fix for CVE-2026-14257 is bypassed by the vulnerability. This issue is fixed in versions 1.1.18, 2.1.4, 3.0.6, and 5.0.9.
Published: 2026-08-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The brace‑expansion library, used to construct strings that share a common prefix and suffix, fails to enforce a maximum length limit while building comma‑alternative intermediate arrays or padded sequences in pre‑1.1.18, pre‑2.1.4, pre‑3.0.6, and pre‑5.0.9 releases. This omission allows an attacker to provide crafted input that expands into arbitrarily large intermediate arrays, potentially exhausting memory or blocking the JavaScript event loop and resulting in a denial‑of‑service condition. The vulnerability also bypasses the mitigation that addressed CVE‑2026‑14257, meaning systems that relied on that protection remain vulnerable.

Affected Systems

brace‑expansion library by juliangruber, versions prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity vulnerability. The EPSS score of <1% suggests a low probability of exploitation at present, and the vulnerability is not listed in CISA’s KEV catalog, implying no widespread attacks reported yet. Based on the description, it is inferred that an attacker could supply malicious input through any interface that triggers brace expansion, whether the input is provided locally by code or received over a network. By doing so, the attacker could consume excessive memory or block the event loop, leading to service disruption. The bypass of the prior CVE‑2026‑14257 mitigation removes an additional defense layer, increasing exploitable attack surface.

Generated by OpenCVE AI on August 4, 2026 at 21:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the brace‑expansion library to version 1.1.18, 2.1.4, 3.0.6, or 5.0.9 to apply the fix.
  • Restrict the size and complexity of input that results in brace expansion, using whitelisting or input validation to avoid large intermediate arrays.
  • If patching cannot be applied immediately, consider running processes that perform brace expansion in a sandboxed or isolated environment to limit the impact of a potential denial‑of‑service.

Generated by OpenCVE AI on August 4, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rgw5-rvv9-x895 brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
History

Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 03 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Juliangruber
Juliangruber brace-expansion
Vendors & Products Juliangruber
Juliangruber brace-expansion

Mon, 03 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Description The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9, expand() does not apply maxLength while constructing comma-alternative intermediate arrays or padded sequences, allowing attacker-controlled input to exhaust memory or block the event loop. The fix for CVE-2026-14257 is bypassed by the vulnerability. This issue is fixed in versions 1.1.18, 2.1.4, 3.0.6, and 5.0.9.
Title brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
Weaknesses CWE-400
CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Juliangruber Brace-expansion
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-03T20:12:20.435Z

Reserved: 2026-08-03T15:47:09.654Z

Link: CVE-2026-69152

cve-icon Vulnrichment

Updated: 2026-08-03T20:12:15.322Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-03T17:16:45.953

Modified: 2026-08-05T14:58:28.177

Link: CVE-2026-69152

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-03T16:33:36Z

Links: CVE-2026-69152 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T21:45:04Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling