Skip to content

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

Merged
chagong merged 1 commit into
developfrom
fix/brace-expansion-cve-2026-45149
Jun 2, 2026
Merged

fix: bump brace-expansion to 5.0.6 (CVE-2026-45149)#1869
chagong merged 1 commit into
developfrom
fix/brace-expansion-cve-2026-45149

Conversation

@chagong
Copy link
Copy Markdown
Contributor

@chagong chagong commented Jun 2, 2026

Resolves CVE-2026-45149 (moderate) in the brace-expansion transitive dependency.

Change

  • Bumped brace-expansion from 5.0.5 to 5.0.6 (transitive dev dependency under glob -> minimatch) in extension/package-lock.json via npm update brace-expansion.
  • Only the lock file changed; package.json was not modified.

Vulnerability

The max option in brace-expansion was applied too late: expanding a single large numeric range (e.g. {1..10000000}) allocated the full intermediate array before applying the limit, causing excess memory/CPU usage. Fixed in 5.0.6.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • extension/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1673 to 1678
"node_modules/brace-expansion": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.3.tgz",
"integrity": "sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==",
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.1.tgz",
"integrity": "sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==",
"license": "MIT",
"dependencies": {
@chagong chagong merged commit 2fcc649 into develop Jun 2, 2026
7 checks passed
@chagong chagong deleted the fix/brace-expansion-cve-2026-45149 branch June 2, 2026 02:04
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.

3 participants