Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. brace-expansion
  4. ›
  5. CVE-2026-69152

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

August 3, 2026

The maxLength mitigation added in 5.0.8 for GHSA-mh99-v99m-4gvg / CVE-2026-14257 is incomplete. It bounds the accumulator where results are combined, but not the intermediate arrays that feed it. A ~25 KB input still crashes the Node process with an uncatchable out-of-memory error, so try/catch around expand() does not help.

A second, related path in the same function lets a ~400 KB input block the event loop for over two minutes without ever exceeding the memory bound.

References

  • github.com/advisories/GHSA-rgw5-rvv9-x895
  • github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d
  • github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac
  • github.com/juliangruber/brace-expansion/commit/688a99eeaab02627c2b89ba8ba4821fecfa659cf
  • github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031
  • github.com/juliangruber/brace-expansion/security/advisories/GHSA-rgw5-rvv9-x895
  • nvd.nist.gov/vuln/detail/CVE-2026-69152

Code Behaviors & Features

Detect and mitigate CVE-2026-69152 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.18, all versions starting from 2.0.0 before 2.1.4, all versions starting from 3.0.0 before 3.0.6, all versions starting from 4.0.0 before 5.0.9

Fixed versions

  • 1.1.18
  • 2.1.4
  • 3.0.6
  • 5.0.9

Solution

Upgrade to versions 1.1.18, 2.1.4, 3.0.6, 5.0.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/brace-expansion/CVE-2026-69152.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:40 +0000.