Skip to content

fix(deps): resolve CVE-2026-26996 ReDoS in minimatch (6 alerts)#1001

Open
sarayev wants to merge 1 commit intomainfrom
fix/dependabot-minimatch
Open

fix(deps): resolve CVE-2026-26996 ReDoS in minimatch (6 alerts)#1001
sarayev wants to merge 1 commit intomainfrom
fix/dependabot-minimatch

Conversation

@sarayev
Copy link
Contributor

@sarayev sarayev commented Mar 6, 2026

Summary

Resolves CVE-2026-26996 (ReDoS) across 6 Dependabot alerts for minimatch 3.0.5/3.1.2 → 3.1.5.

Changes

  • Added yarn resolution: "minimatch": "^3.1.3" — resolves all instances to 3.1.5

Strategy

Traced via yarn why: transitive from eslint@7, jest@27, lerna@5, copyfiles@2, codecov@3, aws-cdk-lib, glob. All parents at final major versions with ranges accepting 3.1.3+ but lockfile was pinned to 3.1.2. Resolution forces the upgrade.

Verification

  • lerna run build
  • lerna run test
  • yarn extract-dependency-licenses ✅ (20 deletions)
  • Cloud E2E: 28/30 passed (2 flaky test failures — shared with other unrelated branches)

@sarayev sarayev requested review from a team as code owners March 6, 2026 15:41
…(ReDoS)

All direct parents (eslint@7.32.0, jest@27.5.1, lerna@5.6.2, copyfiles@2.4.1,
codecov@3.8.3, @commitlint/config-lerna-scopes@17.8.1) are already at their
latest versions within their current major. Their semver ranges (^3.0.x) accept
minimatch@3.1.3+, but the lockfile had resolved to 3.1.2 (the latest at the
time). Additionally, nx@15 (via lerna@5) pinned minimatch@3.0.5. No amount of
bumping direct parents within their current majors changes this.

Resolution 'minimatch': '^3.1.3' forces all instances to 3.1.5 (latest 3.x),
eliminating all three vulnerable versions (3.0.5, 3.1.2, 5.1.6).
@sarayev sarayev force-pushed the fix/dependabot-minimatch branch from 4990b83 to 210e1fb Compare March 6, 2026 19:38
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