CVE-2026-118764
minimatch is a minimal matching utility for converting glob …
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
- github.com/isaacs/minimatch/releases/tag/v11.0.1
- github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
- nvd.nist.gov/vuln/detail/CVE-2026-118764
- github.com/advisories/GHSA-g3hv-75wg-m249
- github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033
- github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da
- nvd.nist.gov/vuln/detail/CVE-2026-118764
- cve.org/CVERecord?id=CVE-2026-118764
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.