CVE-2026-69152

brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation

Published Aug 3, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Juliangruber
Juliangruber brace-expansion
Vendors & Products Juliangruber
Juliangruber brace-expansion
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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2026, 8:12 PM
Reserved
Aug 3, 2026, 3:47 PM
Status
Analyzed
Published
Aug 3, 2026, 5:16 PM
Modified
Oct 23, 2026, 9:10 PM
Severity
Important
Public date
Aug 3, 2026, 4:33 PM