Skip to content

build: override minimatch to 11.0.4 for CVE-2026-118764 - #638

Merged
kevindb merged 1 commit into
mainfrom
build-minimatch-override
Nov 7, 2026
Merged

kevindb merged 1 commit into
mainfrom
build-minimatch-override

Conversation

@kevindb

@kevindb kevindb commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

Dependabot alert 98 (GHSA-g3hv-75wg-m249, CVE-2026-118764): minimatch < 11.0.1 through eslint, which still requires minimatch@^10, and no patched 10.x exists. Development dependency only; the published package doesn't include it.

 package.json
   "devDependencies": { ... },
+  "overrides": {
+    "minimatch": "11.0.4"
+  }
eslint@10.13.0
  @eslint/config-array@0.23.5
    minimatch@11.0.4 deduped
  minimatch@11.0.4 overridden

Remove the override once eslint allows minimatch 11.

Evidence

  • Before: npm audit on main reports the moderate minimatch advisory; Dependabot alert 98 is open.
    After: npm audit reports 0 vulnerabilities. npm test passes: 226 tests plus 3 expected failures, coverage 100% on statements, branches, functions and lines.

Merge Danger

Door: two-way

Removing the overrides entry restores eslint's own range.

Blast Radius: lint

Only ESLint's glob matching uses minimatch. A major-version mismatch would show up as lint errors or missed files, and npm run lint passes as part of npm test.

🤖 Generated with Claude Code

@kevindb
kevindb merged commit 18a29f6 into main Nov 7, 2026
8 checks passed
@kevindb
kevindb deleted the build-minimatch-override branch November 7, 2026 02:51
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