Skip to content

bump brace-expansion to 5.0.9 - #316

Open
ArloL wants to merge 1 commit into
isaacs:mainfrom
ArloL:bump-brace-expansion-5.0.9
Open

bump brace-expansion to 5.0.9#316
ArloL wants to merge 1 commit into
isaacs:mainfrom
ArloL:bump-brace-expansion-5.0.9

Conversation

@ArloL

@ArloL ArloL commented Aug 9, 2026

Copy link
Copy Markdown

Summary

Updates brace-expansion from ^5.0.8 to ^5.0.9 and regenerates the lockfile.

Why

5.0.9 fixes a high-severity DoS (GHSA-rgw5-rvv9-x895 / CVE-2026-69152): the maxLength mitigation added in 5.0.8 only bounded the output accumulator, not the intermediate arrays feeding it. A ~25 KB crafted brace pattern can still crash the Node process with an uncatchable OOM, and a ~400 KB padded-sequence input can stall the event loop for minutes. minimatch passes user-controlled patterns to expand(), so this affects any application that globs untrusted input.

Changes

  • package.json: brace-expansion ^5.0.8^5.0.9
  • package-lock.json: resolved 5.0.85.0.9

Verification

  • npm test: 6236/6236 passing

Fixes DoS via unbounded intermediate arrays that bypassed the
CVE-2026-14257 mitigation (GHSA-rgw5-rvv9-x895, CVE-2026-69152).
@paulhiggs

Copy link
Copy Markdown

This issue is causing a Dependabot alert on my project - would be great if you can merge this PR.

See GHSA-3jxr-9vmj-r5cp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants