{"id":"ghsa-ghsa-c859-jr93-m5j4","seq":12154388,"kind":"advisory","title":"minimatch: minimatch.escape() output matches more or less than the literal input","url":"https://github.com/advisories/GHSA-c859-jr93-m5j4","permalink":"https://vulnpulse.app/items/ghsa-ghsa-c859-jr93-m5j4","summary":"影響: npm:minimatch >= 7.4.0, <= 11.0.7 → 11.0.8\nminimatch.escape() is documented to \"Escape all magic characters in a glob pattern, so that it will only ever match literal strings.\" (README, section minimatch.escape(pattern, options = {})). In minimatch 11.0.5 (latest release; main is at the v11.0.5 tag, commit ea0a4a6) four classes of input break that contract: 1. A leading ! is left unescaped. escape('!secret.txt') returns '!secret.txt', which is a negated pattern. It matches every path except secret.txt, for example passwd. This holds in…","severity":"medium","cvss":null,"techs":["nodejs"],"cves":["CVE-2026-140006"],"tags":["GHSA-c859-jr93-m5j4","minimatch"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T18:06:47.000Z","fetched_at":"2026-12-01T21:20:51.440Z"}