Skip to content

fix(deps): bump brace-expansion to 5.0.6 (CVE-2026-45149)#430

Closed
simon-lowes wants to merge 1 commit into
mainfrom
fix/brace-expansion-cve-2026-45149
Closed

fix(deps): bump brace-expansion to 5.0.6 (CVE-2026-45149)#430
simon-lowes wants to merge 1 commit into
mainfrom
fix/brace-expansion-cve-2026-45149

Conversation

@simon-lowes

Copy link
Copy Markdown
Owner

Summary

Patches Dependabot security alert #31 by bumping the transitive brace-expansion 5.0.5 inside node_modules/minimatch to 5.0.6.

  • CVE: CVE-2026-45149 / GHSA-jxxr-4gwj-5jf2
  • Severity: Medium (6.5)
  • Issue: max option applied too late; large numeric ranges allocate ~505 MB before being trimmed.
  • Fix: Upstream patch in 5.0.6.

Only package-lock.json is touched. package.json does not need changes because the affected package is transitive (via minimatch).

Test plan

  • npm install --package-lock-only runs cleanly
  • Vulnerable nested brace-expansion@5.0.5 is now 5.0.6 in the lockfile
  • CI passes

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Updates the transitive brace-expansion 5.0.5 inside minimatch to 5.0.6+,
patching the DoS via large numeric range expansion (GHSA-jxxr-4gwj-5jf2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simon-lowes

Copy link
Copy Markdown
Owner Author

@dependabot rebase

@simon-lowes simon-lowes enabled auto-merge (squash) June 9, 2026 22:41
@simon-lowes

Copy link
Copy Markdown
Owner Author

Obsolete: main already resolves brace-expansion to 1.1.15 / 2.1.1 / 5.0.6 — at or above the patched versions this PR targets (1.1.14 / 5.0.6), pulled in by later updates. Merging would downgrade 1.1.15→1.1.14. CVE-2026-45149 is already remediated on main.

@simon-lowes simon-lowes closed this Jun 9, 2026
auto-merge was automatically disabled June 9, 2026 22:54

Pull request was closed

@simon-lowes simon-lowes deleted the fix/brace-expansion-cve-2026-45149 branch June 9, 2026 22:54
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.

1 participant