CVE-2026-137196: Glob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`
Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-qxr8-q827-836c
Summary
A vulnerability in the `glob` package causes ignore patterns to omit the brace expansion limit, leading to excessive CPU consumption when processing specially crafted payloads. Maintainers and developers using `glob` version 13.0.5 should update to version 14.0.6.
Who is affected
Deployments that accept untrusted input for ignore patterns in the `glob` package can experience resource exhaustion and disproportionate CPU consumption. The condition requires an attacker to be able to influence the ignore patterns passed to `glob` to trigger the expensive minimatch processing.
Exploitability
Exploitation is network-accessible with low complexity and low attack prerequisites, requiring no user interaction. However, the direct impact is limited to resource availability (local application availability), with EPSS not yet available and CISA KEV listing no active exploitation.
Remediation
- Upgrade the npm package `glob` to version 14.0.6 or higher.
- Ensure that any custom implementations or ignore options properly inherit or enforce the `braceExpandMax: 10_000` limit.
How to check your project
- Check project dependency files (such as `package.json` or lockfiles) to see if `glob` versions 13.0.5 up to 14.0.5 are in use.
- Search the codebase for usages of the `ignore` option in `glob` functions to identify potential vulnerability paths.
Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | glob |
>= 13.0.5, < 14.0.6 | 14.0.6 | npm install [email protected] |
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | Low |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes CVE-2026-137196?
The `Ignore` class in the `glob` package builds minimatch options without setting `braceExpandMax`, allowing ignore patterns to fall back to a much larger default limit compared to normal patterns.
Which versions of `glob` are affected?
The `npm` package `glob` introduced the issue in version 13.0.5 and fixed it in version 14.0.6.
What is the security impact of this vulnerability?
An attacker capable of influencing ignore patterns can force high CPU consumption on the application event loop, leading to Denial of Service conditions.
Original advisory description
References
- WEB https://github.com/isaacs/node-glob/security/advisories/GHSA-qxr8-q827-836c
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-137196
- WEB https://github.com/isaacs/node-glob/commit/17cb20749bc65a64ec44d40de2736cc587564866
- PACKAGE https://github.com/isaacs/node-glob
- WEB https://github.com/isaacs/node-glob/releases/tag/v14.0.6
Source records: GHSA-qxr8-q827-836c (OSV.dev).