Skip to content

Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4#56157

Closed
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D96997159
Closed

Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4#56157
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D96997159

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Summary:
Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4

Summary

Upgrading the transitive dependency minimatch to 3.1.4 in xplat/js/react-native-github to fix:

Two vulnerable versions were present:

  • minimatch@3.1.2 (via eslint, eslint-plugin-jsx-a11y, eslint-plugin-react, etc.)
  • minimatch@3.0.8 (via microsoft/api-extractor with ~3.0.3 tilde range)

The ^3.x entries naturally resolved to 3.1.4 after nudging (resolution removed).
The ~3.0.3 entry required a permanent scoped resolution (microsoft/api-extractor/minimatch: 3.1.4) because the tilde range caps at <3.1.0.

Changelog: [Internal]

Differential Revision: D96997159

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 19, 2026
@meta-codesync

meta-codesync Bot commented Mar 19, 2026

Copy link
Copy Markdown

@cipolleschi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96997159.

…imatch from 3.1.2/3.0.8 to 3.1.4

Summary:
Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4

## Summary
Upgrading the transitive dependency `minimatch` to 3.1.4 in `xplat/js/react-native-github` to fix:
- CVE-2026-27903 (Inefficient Algorithmic Complexity)
- CVE-2026-27904 (Inefficient Regular Expression Complexity)

Two vulnerable versions were present:
- `minimatch@3.1.2` (via eslint, eslint-plugin-jsx-a11y, eslint-plugin-react, etc.)
- `minimatch@3.0.8` (via microsoft/api-extractor with `~3.0.3` tilde range)

The `^3.x` entries naturally resolved to 3.1.4 after nudging (resolution removed).
The `~3.0.3` entry required a permanent scoped resolution (`microsoft/api-extractor/minimatch: 3.1.4`) because the tilde range caps at `<3.1.0`.

Changelog: [Internal]

Differential Revision: D96997159
@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing as this has been merged in c019a50

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants