[agent] chore(deps): bump brace-expansion to fix CVE-2026-33750 and CVE-2025-5889#720
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
[agent] chore(deps): bump brace-expansion to fix CVE-2026-33750 and CVE-2025-5889#720github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
…-v6h2-p8h4-qcjw Add npm overrides to force safe versions of transitive brace-expansion: - brace-expansion@1 → 1.1.13 (was 1.1.11) - brace-expansion@2 → 2.0.3 (was 2.0.1/2.0.2) - brace-expansion@5 → 5.0.5 (was 5.0.2) Fixes Dependabot alerts #198, #188, #187, #70, #69 CVE-2026-33750 (GHSA-f886-m6hf-6m8v), CVE-2025-5889 (GHSA-v6h2-p8h4-qcjw) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds npm
overridesto the rootpackage.jsonto force safe versions of the transitivebrace-expansiondependency across all packages in this monorepo, addressing two CVEs.Vulnerabilities Fixed
brace-expansion < 1.1.13brace-expansion >= 2.0.0 < 2.0.3brace-expansion >= 4.0.0 < 5.0.5brace-expansion >= 1.0.0 <= 1.1.11brace-expansion >= 2.0.0 <= 2.0.1Why overrides
All affected
brace-expansioninstances are transitive dependencies (pulled in viaminimatch). The direct dependencies (lerna,depcheck,@mongodb-js/monorepo-tools) have not shipped releases that include the fixedbrace-expansionversions within their existing minor/patch ranges, making a manifest-level direct-dependency bump insufficient. npmoverridesis the correct mechanism to pin transitive versions in this case.Changes
package.json— addedoverridesblock:package-lock.json— updated to reflect the overridden versions:node_modules/brace-expansion:1.1.11→1.1.13node_modules/depcheck/node_modules/brace-expansion:2.0.1→2.0.3node_modules/@typescript-eslint/rule-tester/node_modules/brace-expansion:2.0.2→2.0.3node_modules/@npmcli/package-json/node_modules/brace-expansion:5.0.2→5.0.5node_modules/cacache/node_modules/brace-expansion:5.0.2→5.0.5node_modules/ignore-walk/node_modules/brace-expansion:5.0.2→5.0.5packages/monorepo-tools/node_modules/brace-expansion:2.0.1→2.1.0