Skip to content

Update minimatch from 10.0.3 to 10.1.2 to address GHSA-7h2j-956f-4vf2#5596

Merged
dmichon-msft merged 1 commit intomicrosoft:mainfrom
EvilFaeton:update-mismatch
Feb 4, 2026
Merged

Update minimatch from 10.0.3 to 10.1.2 to address GHSA-7h2j-956f-4vf2#5596
dmichon-msft merged 1 commit intomicrosoft:mainfrom
EvilFaeton:update-mismatch

Conversation

@EvilFaeton
Copy link
Contributor

Summary

Updates the minimatch dependency from 10.0.3 to 10.1.2 across the monorepo to address a Regular Expression Denial of Service (ReDoS) vulnerability in the underlying brace-expansion dependency.

Security Advisory: GHSA-7h2j-956f-4vf2

Details

Updated minimatch in the following packages:

  • @microsoft/api-extractor
  • @rushstack/package-extractor
  • @rushstack/webpack4-localization-plugin
  • common-versions.json (preferred version)

Changes in minimatch 10.0.3 → 10.1.2:

  • Add magicalBraces option for escape function
  • Fix makeRe when partial: true is set
  • Fix makeRe when pattern ends in final ** path part

Breaking changes: None. The API usage in the affected packages only uses the basic minimatch(string, pattern) function, which remains unchanged.

How it was tested

  • Ran rush update successfully
  • Built all affected packages (rush build -t @microsoft/api-extractor -t @rushstack/package-extractor -t @rushstack/webpack4-localization-plugin) - 32 operations succeeded
  • Ran api-extractor tests - 61 tests passed
  • Ran package-extractor tests - 12 tests passed

@EvilFaeton
Copy link
Contributor Author

@microsoft-github-policy-service agree

@dmichon-msft dmichon-msft merged commit 1b0e350 into microsoft:main Feb 4, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants