From a095d7d9f151ed55086b7ee408ff7c07e7ad0e28 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Sat, 5 Dec 2026 02:13:43 -0500 Subject: [PATCH] chore(deps): require minimatch 11.0.8 or later Raise filesystem's declared range and the root overrides entry from ^11.0.4 / ^11.0.1 to ^11.0.8, so no copy can resolve inside the ranges of GHSA-cf2h-pxjq-68xw (high) and GHSA-hqmv-qgp3-jx75 (medium). The lockfile now resolves every copy to 11.0.10. Closes #5740 Co-Authored-By: Claude Opus 5.5 Signed-off-by: cliffhall --- .changeset/filesystem-minimatch-11-0-8.md | 5 +++++ package-lock.json | 8 ++++---- package.json | 2 +- src/filesystem/package.json | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/filesystem-minimatch-11-0-8.md diff --git a/.changeset/filesystem-minimatch-11-0-8.md b/.changeset/filesystem-minimatch-11-0-8.md new file mode 100644 index 0000000000..5408a9d77e --- /dev/null +++ b/.changeset/filesystem-minimatch-11-0-8.md @@ -0,0 +1,5 @@ +--- +"@modelcontextprotocol/server-filesystem": patch +--- + +Require `minimatch` 11.0.8 or later, clearing two advisories against the version previously locked (11.0.5): quadratic compile time for long wildcard patterns (GHSA-cf2h-pxjq-68xw) and a global pattern cache that retains large expansions (GHSA-hqmv-qgp3-jx75). diff --git a/package-lock.json b/package-lock.json index aa81b65404..687cc16ea5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3841,9 +3841,9 @@ } }, "node_modules/minimatch": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.5.tgz", - "integrity": "sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==", + "version": "11.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.10.tgz", + "integrity": "sha512-L3/cjhQ5E6lft0VCp/2mO3Ic74RnutKy3rz7iGwp/6w1hKcO262g2rbfacFyw6eBig5OdI0nu5PpuA0/WQs9Tw==", "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/nonrecursive-glob-match": "^1.1.0", @@ -5288,7 +5288,7 @@ "@modelcontextprotocol/node": "^2.1.1", "@modelcontextprotocol/server": "^2.3.1", "diff": "^8.0.3", - "minimatch": "^11.0.4", + "minimatch": "^11.0.8", "zod": "^4.2.0" }, "bin": { diff --git a/package.json b/package.json index 79922e8ba3..06c207ec86 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,6 @@ "fast-uri": "^3.1.9", "nanoid": "^3.3.18", "source-map-js": "^1.2.2", - "minimatch": "^11.0.1" + "minimatch": "^11.0.8" } } diff --git a/src/filesystem/package.json b/src/filesystem/package.json index d7aa86bb04..0c50a15ed1 100644 --- a/src/filesystem/package.json +++ b/src/filesystem/package.json @@ -38,7 +38,7 @@ "@modelcontextprotocol/node": "^2.1.1", "@modelcontextprotocol/server": "^2.3.1", "diff": "^8.0.3", - "minimatch": "^11.0.4", + "minimatch": "^11.0.8", "zod": "^4.2.0" }, "devDependencies": {