From 31ab7207922bbea23234f65e6be1dcfbcbd340f2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 25 Nov 2026 22:56:16 +0200 Subject: [PATCH] Dependencies: @babel/cli uses glob 14.0.3, past CVE-2026-118773. GitHub's dependency report: glob 9.0.0 to 14.0.1 keeps walking the filesystem after its AbortSignal fired (GHSA-3g3m-2fjr-6pw4, medium). WeKan's own glob is 14.0.3; the one left was @babel/cli's 13.0.6, a development tool of npm-packages/meteor-reactive-cache that only calls glob.sync and never passes a signal, so it was not reachable. An override gives @babel/cli WeKan's glob too, the way archiver-utils already has it; its own commander 14 stays. npm ls is clean, and babel src -d dist finds its files with glob 14. Thanks to xet7 ! --- package-lock.json | 35 ----------------------------------- package.json | 3 ++- 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d39202760..9e70d4057e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -776,41 +776,6 @@ "node": ">=20" } }, - "node_modules/@babel/cli/node_modules/glob": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@babel/cli/node_modules/path-scurry": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", - "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@babel/code-frame": { "version": "7.26.2", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", diff --git a/package.json b/package.json index 5b115da1c0..1a0f45b41b 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,8 @@ "minimatch": "^11.0.1" }, "@babel/cli": { - "minimatch": "^11.0.1" + "minimatch": "^11.0.1", + "glob": "$glob" }, "uuid": "^14.0.0", "webpack-dev-server": "^5.2.6",