UID2-6617: Fix CVE-2026-26996 minimatch ReDoS vulnerability#780
Open
UID2-6617: Fix CVE-2026-26996 minimatch ReDoS vulnerability#780
Conversation
Add minimatch ^10.2.1 to overrides in package.json to resolve CVE-2026-26996 (HIGH severity ReDoS via repeated wildcards with non-matching literal in pattern). Previously minimatch 10.1.1 and 3.1.2 were present as transitive deps. All instances are now resolved to 10.2.2. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove duplicate "minimatch": "^3.1.2" key from overrides in package.json. The duplicate silently overrode the correct "^10.2.1" fix, causing the lock file to be out of sync and npm ci to fail with missing dependency errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Scope the minimatch override to keep eslint-plugin-import on v3.1.2, which exports a callable function as required by its internals. The global v10 override broke lint with 'TypeError: (0, _minimatch2.default) is not a function'. All other packages continue to use minimatch ^10.2.1. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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
Fixes UID2-6617
minimatch: "^10.2.1"tooverridesinpackage.jsonto resolve CVE-2026-26996 (HIGH severity)minimatchvia repeated wildcards with a non-matching literal in the pattern10.1.1and3.1.2(via transitive deps fromeslint,jest,react-scripts, etc.)10.2.2Test plan
minimatchversions below10.2.1appear inpackage-lock.jsonminimatchnpm run buildnpm run test-api🤖 Generated with Claude Code