Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`
CVE-2026-137196
glob sets braceExpandMax: 10000 when it parses pattern patterns, but the Ignore class builds its own minimatch options and omits braceExpandMax entirely, so ignore patterns fall back to minimatch's default of 100000. Both paths force optimizationLevel: 2, which is the exact precondition for minimatch's globparts amplification (CVE-2026-118764, GHSA-g3hv-75wg-m249) — minimatch's own default is 1. The consequence is that the same payload is rejected in milliseconds when passed as a pattern, but is accepted and burns far more CPU when passed as an ignore pattern. Root cause src/glob.ts:527-529 — pattern path, limit present: ts const mmo: MinimatchOptions = { braceExpandMax: 10000, ...opts, src/ignore.ts:71-83 — ignore path, limit missing: ts this.mmopts = { dot: true, nobrace, nocase, noext, noglobstar, normalize, optimizationLevel: 2, // forced, and the amplification precondition platform, nocomment: true, nonegate: true, windowsPathsNoEscape, } // = 11.0.1 fixed CVE-2026-118764 by throwing a RangeError once globParts.length >= braceExpandMax. The pattern path caps rows at 10000; the ignore path allows 100000. The amplified rows then go through minimatch's secondPhasePreProcess(),…
Assessment
- CVSS
- 6.3 (v4.0)
- Severity
- Medium
- EPSS
- 0.00834% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 December 2026
- Last updated
- 1 December 2026
- Weakness
- CWE-400, CWE-405, CWE-770
- Assigner
- GitHub_M
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
At the source
References
- https://github.com/isaacs/node-glob/security/advisories/GHSA-qxr8-q827-836c
- https://nvd.nist.gov/vuln/detail/CVE-2026-137196
- https://github.com/isaacs/node-glob/commit/17cb20749bc65a64ec44d40de2736cc587564866
- https://github.com/isaacs/node-glob/releases/tag/v14.0.6
- https://github.com/advisories/GHSA-qxr8-q827-836c
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-137196