Skip to content

fix: update brace-expansion to >=5.0.8 to resolve CVE-2026-14257 - #413

Merged
hongyi-chen merged 2 commits into
mainfrom
independabot/brace-expansion-CVE-2026-14257
Jul 29, 2026
Merged

fix: update brace-expansion to >=5.0.8 to resolve CVE-2026-14257#413
hongyi-chen merged 2 commits into
mainfrom
independabot/brace-expansion-CVE-2026-14257

Conversation

@independabot-soc2

Copy link
Copy Markdown
Contributor

Hi, this is independabot — not Lili! You can ask her if you have questions, but she had no hand in generating this PR other than setting up the independabot schedule.

Please merge this PR yourself, if you approve.

BEFORE YOU MERGE

Instructions for resolving the vuln

Added an npm overrides entry to pin brace-expansion to >=5.0.8, fixing a high-severity DoS vulnerability.

Risky code / where the dependency was used

brace-expansion is a transitive dependency (runtime scope). It is used internally by glob/minimatch tooling in the build pipeline. The override does not affect direct dependencies.

Special instructions for this PR

No special steps required. Verify npm install succeeds and the build (npm run build) completes without errors before merging.

AFTER YOU MERGE

No post-merge steps required.

Adds npm override to pin brace-expansion to >=5.0.8, fixing a DoS
vulnerability via unbounded expansion length causing OOM crashes.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jul 29, 2026
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Error Error Jul 29, 2026 6:53pm

Request Review

@independabot-soc2
independabot-soc2 Bot requested a review from kevinyang372 July 29, 2026 13:06
@oz-for-oss

oz-for-oss Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@independabot-soc2[bot]

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overview

This PR updates brace-expansion from 5.0.7 to 5.0.8 in package-lock.json and adds a package override to remediate CVE-2026-14257. The lockfile pins the patched tarball and the new package engine range remains compatible with this repository's Node 20.19+/22.12+/24 requirement.

Concerns

  • The new override uses a broad lower-bound range rather than pinning the patched dependency version, which makes future non-npm ci installs less deterministic.

Security

  • Supply-chain remediation should be reproducible; pinning the override to 5.0.8 avoids accidental future major-version resolution while still fixing the vulnerability.

Verdict

Found: 0 critical, 0 important, 1 suggestions

Approve with nits

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread package.json
"yaml": "^2.8.3"
},
"overrides": {
"brace-expansion": ">=5.0.8",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 [SUGGESTION] [SECURITY] The lower-bound override can let a future npm install resolve an unreviewed major brace-expansion release; pin the patched version for a reproducible vulnerability fix.

Suggested change
"brace-expansion": ">=5.0.8",
"brace-expansion": "5.0.8",

@hongyi-chen
hongyi-chen merged commit 4f9dbf5 into main Jul 29, 2026
5 of 7 checks passed
@hongyi-chen
hongyi-chen deleted the independabot/brace-expansion-CVE-2026-14257 branch July 29, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants