CVE Feed
6.3 Medium

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
Affected
isaacs · node-glob · glob
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

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
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-137196