Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 25, 2026
Description
Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.
| Product | Versions |
|---|---|
| node-glob isaacs | >= 13.0.5, < 14.0.6 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | GitHub_M |
Weaknesses
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.