Skip to content

Update minimatch to a patched release - #1668

Merged
emmatown merged 3 commits into
Thinkmill:mainfrom
jramosg:fix/minimatch-security
Nov 17, 2026
Merged

emmatown merged 3 commits into
Thinkmill:mainfrom
jramosg:fix/minimatch-security

Conversation

@jramosg

@jramosg jramosg commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

@keystatic/core currently requires minimatch 10, which is affected by GHSA-g3hv-75wg-m249. The fixed releases are in minimatch 11, so consumers cannot resolve a patched version within the current dependency range.

Update the dependency to ^11.0.8, refresh its lockfile entries, and add a patch changeset for @keystatic/core. Path reference fields continue to use the supported filter() API.

Validation on Node 24.22.1 with pnpm 11.20.0:

  • Full unit suite: 1,251 passed, 37 skipped.
  • TypeScript, production package build, package validation, and formatting passed.
  • Six path-filtering smoke checks passed, covering recursive paths, single-directory patterns, brace expansion, extglobs, negation, and dotfiles.

Upgrade @keystatic/core's minimatch range to resolve the denial-of-service
advisory affecting version 10. Refresh the lockfile and add a patch
changeset so consumers can install the fix without an override.

See: GHSA-g3hv-75wg-m249
@jramosg
jramosg requested a review from emmatown as a code owner November 14, 2026 07:56
@changeset-bot

changeset-bot Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e3d0feb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@keystatic/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This does not have a security impact since the glob is not attacker controlled
@emmatown
emmatown merged commit 3163f3f into Thinkmill:main Nov 17, 2026
13 checks passed
@jramosg
jramosg deleted the fix/minimatch-security branch November 17, 2026 06:20
@github-actions github-actions Bot mentioned this pull request Nov 17, 2026
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.

2 participants