{"id":"ghsa-ghsa-cf2h-pxjq-68xw","seq":12154390,"kind":"advisory","title":"minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)","url":"https://github.com/advisories/GHSA-cf2h-pxjq-68xw","permalink":"https://vulnpulse.app/items/ghsa-ghsa-cf2h-pxjq-68xw","summary":"影響: npm:minimatch >= 11.0.0, <= 11.0.6 → 11.0.7\nSummary. mergeRows() (src/index.ts ~813-852, introduced in 2e1d896) iterates every part position and, for each row with a wildcard there, copies and joins the whole row to build a Map key. For a pattern made of many wildcard-only path parts this is quadratic in the number of parts, even with a single row. It runs in new Minimatch, so any uncached pattern pays it. Measured on 11.0.6 with a pattern of parts joined by /: 1000 parts 22 ms, 2000 parts 72 ms, 4000 parts 190 ms, 8000 parts 805 ms (abo…","severity":"high","cvss":null,"techs":["nodejs"],"cves":["CVE-2026-140008"],"tags":["GHSA-cf2h-pxjq-68xw","minimatch"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T18:00:15.000Z","fetched_at":"2026-12-01T21:20:51.440Z"}